Öffne Port für alle ankommende IP's nicht nur localhost

This commit is contained in:
2024-01-28 19:44:48 +01:00
parent 8d15e3656c
commit 79363af3ec
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ import { new_request } from './RequestHandler';
export const www_folder: string = '/home/carsten/Dokumente/SmartHomeDashboard/html/';
export const index_alias: string = 'index.html';
const port: number = 8080;
const hostname: string = '127.0.0.1';
const hostname: string = '0.0.0.0';
export function start_server(): void {