Skip to content
Snippets Groups Projects
Commit ce4245aa authored by Tommi Penttinen's avatar Tommi Penttinen
Browse files

Whoops, forgot a testing WS endpoint

parent d96c2ee5
No related branches found
No related tags found
No related merge requests found
Pipeline #41906 passed
...@@ -15,8 +15,8 @@ AUDIO[VEHICLE_TRUCK] = 'audio/truck_glockenspiel.mp3'; ...@@ -15,8 +15,8 @@ AUDIO[VEHICLE_TRUCK] = 'audio/truck_glockenspiel.mp3';
AUDIO[VEHICLE_BUS] = 'audio/bus_mallets.mp3'; AUDIO[VEHICLE_BUS] = 'audio/bus_mallets.mp3';
SEP = ','; SEP = ',';
// SERVER = 'wss://smarter-data.tt.utu.fi/ws/'; SERVER = 'wss://smarter-data.tt.utu.fi/ws/';
SERVER = 'ws://localhost:8080/' // SERVER = 'ws://localhost:8080/'
function send_data(ws, direction, vehicle_class) { function send_data(ws, direction, vehicle_class) {
ws.send(TMS_NUMBER + SEP + direction + SEP + vehicle_class + SEP + new Date().getTime() + SEP + USER_AGENT); ws.send(TMS_NUMBER + SEP + direction + SEP + vehicle_class + SEP + new Date().getTime() + SEP + USER_AGENT);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment