Skip to content

Commit

Permalink
Merge pull request ember-cli#24 from jbescoyez/patch-1
Browse files Browse the repository at this point in the history
Allow to force baseURL
  • Loading branch information
rwjblue committed Dec 8, 2015
2 parents d354e9c + ca11170 commit d26ca2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
if (options.liveReload !== true) { return; }

process.env.EMBER_CLI_INJECT_LIVE_RELOAD_PORT = options.liveReloadPort;
process.env.EMBER_CLI_INJECT_LIVE_RELOAD_BASEURL = options.baseURL; // default is '/'
process.env.EMBER_CLI_INJECT_LIVE_RELOAD_BASEURL = options.liveReloadBaseUrl || options.baseURL;

app.use(options.baseURL + 'ember-cli-live-reload.js', function(request, response, next) {
response.contentType('text/javascript');
Expand Down

0 comments on commit d26ca2e

Please sign in to comment.