Skip to content

Commit

Permalink
Another missing import in README
Browse files Browse the repository at this point in the history
  • Loading branch information
clbond committed Mar 29, 2017
1 parent 44b4f50 commit 6bb9500
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -94,6 +94,10 @@ import {join} from 'path';

import {AppModule} from '../src/app/app.module';

import express = require('express');

import url = require('url');

const dist = join(process.cwd(), 'dist');

const builder = new ApplicationBuilderFromModule(AppModule, join(dist, 'index.html'));
Expand All @@ -111,7 +115,7 @@ app.get('*',
}
});

export const absoluteUri = (request: express.Request): string => {
const absoluteUri = (request: express.Request): string => {
return url.format({
protocol: request.protocol,
host: request.get('host'),
Expand Down

0 comments on commit 6bb9500

Please sign in to comment.