first deployment FIX

This commit is contained in:
Patrick Haßel 2025-10-30 15:24:34 +01:00
parent 26baa904dd
commit 49a87bb154
2 changed files with 3 additions and 1 deletions

View File

@ -9,3 +9,5 @@ spring.jpa.hibernate.ddl-auto=update
spring.jackson.serialization.indent_output=true
#-
de.ph87.data.mqtt.uri=tcp://10.0.0.50:1883
#
server.port=8084

View File

@ -51,7 +51,7 @@ export function or<T, R, E>(t: T | null | undefined, map: (t: T) => R, orElse: E
}
export function url(protocol: string, path: any[]): string {
return `${protocol}${location.protocol === 'https://' ? 's' : ''}://localhost:8080/${path.join('/')}`;
return `${protocol}${location.protocol === 'https://' ? 's' : ''}://${location.hostname}:8084/${path.join('/')}`;
}
export function stompServiceFactory() {