File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import browserify from 'browserify';
77import vueify from 'vueify' ;
88import babelify from 'babelify' ;
99import modulesify from 'css-modulesify' ;
10+ import aliasify from 'aliasify' ;
1011import source from 'vinyl-source-stream' ;
1112import buffer from 'vinyl-buffer' ;
1213import { argv } from 'yargs' ;
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import fs from 'fs';
55import { argv } from 'yargs' ;
66import { dirs , prod } from './config' ;
77
8-
98gulp . task ( 'copy:client:fa' , ( ) => {
109 return gulp
1110 . src ( path . resolve ( dirs . modules , 'font-awesome/fonts/*' ) )
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import app from './server/server';
55
66const client = path . resolve ( __dirname , 'client' ) ;
77
8- const unless = function ( paths , middleware ) {
9- return function ( req , res , next ) {
8+ const unless = function ( paths , middleware ) {
9+ return function ( req , res , next ) {
1010 if ( paths . some ( p => req . path . indexOf ( p ) > - 1 ) ) {
1111 return next ( ) ;
1212 }
@@ -21,7 +21,7 @@ app.use(express.static(client));
2121// enable redirect urls to index
2222app . use ( unless (
2323 [ '/api' , '/explorer' ] ,
24- fallback ( 'index.html' , { root : client } ) ,
24+ fallback ( 'index.html' , { root : client } ) ,
2525) ) ;
2626
2727// start app
You can’t perform that action at this time.
0 commit comments