Update 'src/containerspawner/__init__.py'
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
3fbf8cd97c
commit
fecf8f1ab3
|
@ -19,6 +19,6 @@ def default(path):
|
|||
if not state.is_running(username):
|
||||
state.spawn(username)
|
||||
|
||||
response = make_response(f"Container spawned. Reloading `{path}`...", 201)
|
||||
response.headers["Refresh"] = "5"
|
||||
response = make_response(f"Container spawned. Reloading{'' if path else ' ' + path}...", 201)
|
||||
response.headers["Refresh"] = "2"
|
||||
return response
|
||||
|
|
Loading…
Reference in New Issue