Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristian committed Dec 26, 2018
1 parent a597ebd commit e12ae0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion skeleton/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,10 @@ export default class App {
settings = this.prepareAutoupdateSettings();
}
if (internal && moduleName === 'localServer') {
settings = { localFilesystem: this.settings.exposeLocalFilesystem, allowOriginLocalServer: this.settings.allowOriginLocalServer || false };
settings = {
localFilesystem: this.settings.exposeLocalFilesystem,
allowOriginLocalServer: this.settings.allowOriginLocalServer || false
};
}

this.modules[moduleName] = new AppModule({
Expand Down
2 changes: 1 addition & 1 deletion skeleton/modules/localServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export default class LocalServer {
}

if (self.settings.allowOriginLocalServer) {
res.setHeader("Access-Control-Allow-Origin", "*");
res.setHeader('Access-Control-Allow-Origin', '*');
}

const bareUrl = parsedUrl.pathname.substr(urlAlias.length);
Expand Down

0 comments on commit e12ae0c

Please sign in to comment.