inital release
This commit is contained in:
commit
1d708c14cf
26 changed files with 34335 additions and 0 deletions
11
routes/static.js
Normal file
11
routes/static.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
const express = require("express");
|
||||
|
||||
function staticRouteHandler(app) {
|
||||
// main application
|
||||
app.use("/", express.static("public"));
|
||||
|
||||
// video files
|
||||
app.use("/videocd/", express.static("videohost"));
|
||||
}
|
||||
|
||||
module.exports = staticRouteHandler;
|
Loading…
Add table
Add a link
Reference in a new issue