fix: FilePreview iframe高度撑满 + 手机端响应式布局
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import requests
|
||||
|
||||
base = 'http://192.168.31.240:41733'
|
||||
|
||||
r = requests.get(f'{base}/api/projects', timeout=10)
|
||||
projects = r.json()
|
||||
print('Current projects:', projects)
|
||||
|
||||
for p in projects:
|
||||
pid = p['id']
|
||||
name = p['name']
|
||||
r2 = requests.delete(f'{base}/api/projects/{pid}')
|
||||
print(f'Delete project {pid} ({name}): {r2.status_code}')
|
||||
Reference in New Issue
Block a user