Skip to content

mixmaxhq/giphy-mixmax-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Giphy Mixmax Enhancement

This is an open source Mixmax Enhancement. See http://developer.mixmax.com/docs/overview-enhancement#tutorial-building-giphy-enhancement for more information about how to use this example code in Mixmax.

Running locally

  1. Install using npm install
  2. Run using npm start

To test the editor locally, go to https://localhost:8910/editor in your browser.

Why do we run it in https locally?

Mixmax slash command APIs are required to be served over https. This is because they are queried directly from the Mixmax client in the browser (using AJAX) that's running on an HTTPS domain. Browsers forbid AJAX requests from https domains to call http APIs, for security. So we must run an https server with a locally-signed certificate.

See here for how to fix the ERR_INSECURE_RESPONSE error that you might get in Chrome.