Skip to content
Snippets Groups Projects
Commit 3ba3841d authored by Julien Raspaud's avatar Julien Raspaud
Browse files

Removed /api/in route, Changed DNS to be api.hermod

parent 7e919830
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ io.of('/').on('connection', (socket) => { ...@@ -17,7 +17,7 @@ io.of('/').on('connection', (socket) => {
// Respond to panel_data message by fetching the info from the server // Respond to panel_data message by fetching the info from the server
socket.on('panel_data', () => { socket.on('panel_data', () => {
fetch(`http://hermod.cs-campus.fr/api/v1/screen/${uuid}`, { fetch(`http://api.hermod.cs-campus.fr/v1/screen/${uuid}`, {
headers: { headers: {
Autorization: `Bearer ${createSignedJWT()}`, Autorization: `Bearer ${createSignedJWT()}`,
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment