Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,6 +50,14 @@ def start_processes():
|
|
| 50 |
print(f"{info['file']} を起動しました")
|
| 51 |
|
| 52 |
#----------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
@app.route("/drive.com/files")
|
| 55 |
def drive():
|
|
|
|
| 50 |
print(f"{info['file']} を起動しました")
|
| 51 |
|
| 52 |
#----------
|
| 53 |
+
@app.route("/xe.js")
|
| 54 |
+
def xe_js():
|
| 55 |
+
return send_from_directory(
|
| 56 |
+
directory="xv",
|
| 57 |
+
path="xe.js",
|
| 58 |
+
mimetype="application/javascript"
|
| 59 |
+
)
|
| 60 |
+
|
| 61 |
|
| 62 |
@app.route("/drive.com/files")
|
| 63 |
def drive():
|