|
@@ -87,8 +87,8 @@ async def pull_image_editor_project(request):
|
|
"""Git pull at request."""
|
|
"""Git pull at request."""
|
|
try:
|
|
try:
|
|
_subprocess = await asyncio.create_subprocess_shell(
|
|
_subprocess = await asyncio.create_subprocess_shell(
|
|
- 'bash {path}/pull_image_editor.sh'.format(
|
|
|
|
- path=path
|
|
|
|
|
|
+ 'bash {path}/update_image_editor.sh'.format(
|
|
|
|
+ path=os.path.dirname(path)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
stdout, stderr = await _subprocess.communicate()
|
|
stdout, stderr = await _subprocess.communicate()
|
|
@@ -103,7 +103,7 @@ async def pull_image_editor_project(request):
|
|
return web.Response(
|
|
return web.Response(
|
|
status=302,
|
|
status=302,
|
|
headers={
|
|
headers={
|
|
- 'location': 'https://www.davte.it/michele/image-editor/src/',
|
|
|
|
|
|
+ 'location': 'https://michele.davte.it/image-editor/',
|
|
},
|
|
},
|
|
)
|
|
)
|
|
|
|
|