fix: dist-Pfad im Server absolut aufloesen, unabhaengig vom Startverzeichnis
This commit is contained in:
@@ -15,8 +15,11 @@ import hmac
|
||||
import os
|
||||
import sys
|
||||
from http.server import SimpleHTTPRequestHandler, ThreadingHTTPServer
|
||||
from pathlib import Path
|
||||
|
||||
SERVE_DIRECTORY = 'dist'
|
||||
# Absolut aufgeloest, damit es nicht darauf ankommt, aus welchem Verzeichnis
|
||||
# die Hosting-Umgebung den Server startet.
|
||||
SERVE_DIRECTORY = str(Path(__file__).resolve().parent / 'dist')
|
||||
HEALTH_PATH = '/healthz'
|
||||
REALM = 'RAM-Sortierhilfe'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user