Skip to content

Commit

Permalink
fix photon
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixbf committed Apr 12, 2024
1 parent ca2dd2b commit 74fbd64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions services/ATON.service.main.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,14 @@ app.use('/vrc', createProxyMiddleware({
target: VRC_ADDR+":"+VRC_PORT,
ws: true,
pathRewrite: { '^/vrc': ''},
//changeOrigin: true
changeOrigin: true
}));
app.use('/svrc', createProxyMiddleware({
target: VRC_ADDR+":"+VRC_PORT,
ws: true,
pathRewrite: { '^/svrc': ''},
secure: true,
//changeOrigin: true
changeOrigin: true
}));

// WebDav
Expand Down
2 changes: 1 addition & 1 deletion services/photon/ATON.service.photon.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const app = require('express')();
const socketio = require('socket.io');

const Core = require('./../Core');
const VRoadcast = require('./Photon.js');
const Photon = require('./Photon.js');

// Loads config
let aConfig = Core.loadConfigFile("main.json", Core.CONF_MAIN);
Expand Down

0 comments on commit 74fbd64

Please sign in to comment.