Spaces:
Running
Running
Update api.js
Browse files
api.js
CHANGED
|
@@ -274,7 +274,7 @@ app.post("/api/generate/image", async(req, res)=> {
|
|
| 274 |
|
| 275 |
|
| 276 |
// Client webpages and storage for generated content
|
| 277 |
-
app.use('/
|
| 278 |
|
| 279 |
const port = 6666;
|
| 280 |
app.listen(port, () => {
|
|
|
|
| 274 |
|
| 275 |
|
| 276 |
// Client webpages and storage for generated content
|
| 277 |
+
app.use('/', express.static("public"));
|
| 278 |
|
| 279 |
const port = 6666;
|
| 280 |
app.listen(port, () => {
|