Compare commits
1 Commits
master
...
dependabot
Author | SHA1 | Date |
---|---|---|
dependabot[bot] | f929625de6 | 4 years ago |
Before Width: | Height: | Size: 379 KiB After Width: | Height: | Size: 379 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 848 KiB After Width: | Height: | Size: 848 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
@ -1 +0,0 @@ |
||||
docker exec -it $1 bash |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 822 B After Width: | Height: | Size: 822 B |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 412 KiB After Width: | Height: | Size: 412 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
@ -1,522 +1,333 @@ |
||||
const { createProxyMiddleware } = require('http-proxy-middleware'); |
||||
|
||||
module.exports = function (app) { |
||||
/*app.use( |
||||
"/event/query", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
);*/ |
||||
app.use( |
||||
"/sigcrafting", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:3001', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/gitea", |
||||
createProxyMiddleware({ |
||||
target: 'http://sig.projectdivar.com', |
||||
changeOrigin:false, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/class", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/class_level_data", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/class_weapon_type_data", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/weapon", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/weapon_existence_data", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/weapon_type", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/armor", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/potential", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/potential_data", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/builds", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/skill", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/skill_type", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/skill_data", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/augment", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/augment_type", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/food_mult", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/roles", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/users", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner/food", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ngsplanner", |
||||
createProxyMiddleware({ |
||||
target: 'https://server2:4504', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ev", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/cans", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/eventchart", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/create-event", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/event/leaderboard", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/eventsubmit", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/eventdata", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/eventdata/t20", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/recalculatePlayerData/:id", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/streamtop/:id", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/streamkill/:id", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/streamstart/:id", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/streaminfo/:id", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/updates/:userid", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/passImageData", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/getUserAuthData", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/streamdata/:id", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/updateuser", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/findsong/:songname", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/authenticate/authToken", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/updateRegisteredState", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/authenticate/login", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/authenticateuser", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/sendemail/register", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/sendemail/login", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/recentplays/:username", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/plays/:username/:songname", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/song/:songname/:difficulty", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ratings/:songname", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/completionreport/:username", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/songmods/:username/:songname/:difficulty", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/songpfccount/:username/:songname/:difficulty", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/songs", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/bestplays/:username", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/image", |
||||
createProxyMiddleware({ |
||||
target: 'http://projectdivar.com:4503', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/upload", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/song/:songname", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/remove", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/submit", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/songdiffs", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/accuracy/:username", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/recalculatescore/:playid", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/bestplay/:username/:songname/:difficulty", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/userdata/:username", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/playcount/:username/:songname/:difficulty", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/songpasscount/:username/:songname/:difficulty", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/songfccount/:username/:songname/:difficulty", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/rating/:username", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/users/:orderby/:sortorder", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/twitter/mentions", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/files", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
module.exports = function(app) { |
||||
app.use( |
||||
"/eventchart", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/eventsubmit", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/eventdata", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/eventdata/t20", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/recalculatePlayerData/:id", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/streamtop/:id", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/streamkill/:id", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/streamstart/:id", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/streaminfo/:id", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/updates/:userid", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/passImageData", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/getUserAuthData", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/streamdata/:id", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/updateuser", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/findsong/:songname", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/authenticate/authToken", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/updateRegisteredState", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/authenticate/login", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/authenticateuser", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/sendemail/register", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/sendemail/login", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/recentplays/:username", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/plays/:username/:songname", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/song/:songname/:difficulty", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/ratings/:songname", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/completionreport/:username", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/songmods/:username/:songname/:difficulty", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/songpfccount/:username/:songname/:difficulty", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/songs", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/bestplays/:username", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/image", |
||||
createProxyMiddleware({ |
||||
target: 'http://projectdivar.com:4503', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/upload", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/song/:songname", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/remove", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/submit", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/songdiffs", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/accuracy/:username", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/recalculatescore/:playid", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/bestplay/:username/:songname/:difficulty", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/userdata/:username", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/playcount/:username/:songname/:difficulty", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/songpasscount/:username/:songname/:difficulty", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/songfccount/:username/:songname/:difficulty", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/rating/:username", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/users/:orderby/:sortorder", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/twitter/mentions", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
app.use( |
||||
"/files", |
||||
createProxyMiddleware({ |
||||
target: 'http://server:4501', |
||||
changeOrigin: true, |
||||
}) |
||||
); |
||||
}; |