mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
14 lines
375 B
TypeScript
14 lines
375 B
TypeScript
|
///<reference path="../../typings/main.d.ts"/>
|
||
|
|
||
|
|
||
|
import * as _express from 'express';
|
||
|
import * as path from 'path';
|
||
|
|
||
|
export class PublicRouter{
|
||
|
constructor(private app){
|
||
|
this.app.use(_express.static(path.resolve(__dirname, './../../frontend')));
|
||
|
this.app.use('/node_modules',_express.static(path.resolve(__dirname, './../../node_modules')));
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|