Move src/{views,res} to root

To make it available after ts server files are compiled into lib folder
This commit is contained in:
Jerko Steiner 2019-11-13 22:27:32 -03:00
parent 523fd27307
commit 17bea91c1d
12 changed files with 2 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -23,10 +23,10 @@ app.locals.version = require('../../package.json').version
app.locals.baseUrl = BASE_URL
app.set('view engine', 'pug')
app.set('views', path.join(__dirname, '../views'))
app.set('views', path.join(__dirname, '../../views'))
const router = express.Router()
router.use('/res', express.static(path.join(__dirname, '../res')))
router.use('/res', express.static(path.join(__dirname, '../../res')))
router.use('/static', express.static(path.join(__dirname, '../../build')))
router.use('/call', call)
router.use('/', index)