fractal-code / meteor-azure

Automate Meteor deployments on Azure App Service
MIT License
67 stars 20 forks source link

App points to URL/main.js #16

Closed tgoldenberg closed 7 years ago

tgoldenberg commented 7 years ago

After successfully deploying to Web App and configuring domain name and https, my / route now redirects to /main.js. This, of course, causes an error with react-router, since it doesn't recognize the route. Any idea why this happens?

ramijarrar commented 7 years ago

This looks very similar to #11

Can you paste your web.config? The 'force https' rule needs to be added at the beginning of the rewrite section in order to function properly (as per the example provided)

tgoldenberg commented 7 years ago

Yes, it looks like that issue addresses this. Sorry for overlooking it.