Accept Procfile path beginning with :

pull/259/head
Eric Walker 2023-01-05 00:14:55 -05:00
rodzic e2e84b8c55
commit 21a576ddea
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -884,7 +884,7 @@ def spawn_app(app, deltas={}):
# prepend static worker path if present
if 'static' in workers:
stripped = workers['static'].strip("/").rstrip("/")
static_paths = "/:" + (stripped if stripped else ".") + "/" + ("," if static_paths else "") + static_paths
static_paths = ("/" if stripped[0:1] == ":" else "/:") + (stripped if stripped else ".") + "/" + ("," if static_paths else "") + static_paths
if len(static_paths):
try:
items = static_paths.split(',')