mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Structured platform specific src files.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// if you are including modules that modify Promise, such as NewRelic,, you must include them before polyfills
|
||||
import 'angular2-universal-polyfills';
|
||||
import 'ts-helpers';
|
||||
import './__workaround.node'; // temporary until 2.1.1 things are patched in Core
|
||||
import './platform/workarounds/__workaround.node'; // temporary until 2.1.1 things are patched in Core
|
||||
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
@@ -20,7 +20,7 @@ import { enableProdMode } from '@angular/core';
|
||||
import { createEngine } from 'angular2-express-engine';
|
||||
|
||||
// App
|
||||
import { MainModuleNgFactory } from './node.module.ngfactory';
|
||||
import { MainModuleNgFactory } from './platform/modules/node.module.ngfactory';
|
||||
|
||||
// Routes
|
||||
import { routes } from './server.routes';
|
||||
@@ -121,6 +121,6 @@ app.get('*', function(req, res) {
|
||||
});
|
||||
|
||||
// Server
|
||||
let server = app.listen(app.get('port'), () => {
|
||||
let server = app.listen(app.get('port'), app.get('address'), () => {
|
||||
console.log(`Listening on: http://${server.address().address}:${server.address().port}`);
|
||||
});
|
||||
|
Reference in New Issue
Block a user