forked from DebaucheryLibrarian/traxxx
Using grid layout with thumbnails.
This commit is contained in:
@@ -12,6 +12,9 @@ function initServer() {
|
||||
const app = express();
|
||||
const router = Router();
|
||||
|
||||
app.use(express.static(config.thumbnailPath));
|
||||
app.use(express.static('public'));
|
||||
|
||||
app.set('views', path.join(__dirname, '../../assets/views'));
|
||||
app.set('view engine', 'jsx');
|
||||
app.engine('jsx', createEngine());
|
||||
|
||||
Reference in New Issue
Block a user