Update 'src/containerspawner/__init__.py'
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
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…
x
Reference in New Issue
Block a user