mirror of
https://github.com/Foltik/Shimapan
synced 2024-12-02 18:48:32 -05:00
26 lines
824 B
JavaScript
26 lines
824 B
JavaScript
const index = require('./index.js');
|
|
const home = require('./home.js');
|
|
const upload = require('./upload.js');
|
|
const view = require('./view.js');
|
|
const auth = require('./auth.js');
|
|
const register = require('./register.js');
|
|
const login = require('./login.js');
|
|
const panel = require('./panel.js');
|
|
const keys = require('./keys.js');
|
|
const invites = require('./invite.js');
|
|
const users = require('./users.js');
|
|
|
|
module.exports = function (app) {
|
|
app.use('/', index);
|
|
app.use('/home', home);
|
|
app.use('/v', view);
|
|
app.use('/api/upload', upload);
|
|
app.use('/api/auth', auth);
|
|
app.use('/api/keys', keys);
|
|
app.use('/api/invites', invites);
|
|
app.use('/api/users', users);
|
|
app.use('/register', register);
|
|
app.use('/login', login);
|
|
app.use('/panel', panel);
|
|
app.use('/panel*', panel);
|
|
}; |