Spaces:
Running
Running
waxihiv547
commited on
Commit
•
5b4c659
1
Parent(s):
629917e
Update server.js
Browse files
server.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
const express = require('express');
|
2 |
const proxy = require('express-http-proxy');
|
3 |
const app = express();
|
4 |
-
const targetUrl = 'https://
|
5 |
const port = 7860;
|
6 |
|
7 |
app.use('/', proxy(targetUrl, {
|
@@ -13,5 +13,5 @@ app.use('/', proxy(targetUrl, {
|
|
13 |
}));
|
14 |
|
15 |
app.listen(port, () => {
|
16 |
-
console.log(`
|
17 |
});
|
|
|
1 |
const express = require('express');
|
2 |
const proxy = require('express-http-proxy');
|
3 |
const app = express();
|
4 |
+
const targetUrl = 'https://studio-api.suno.ai';
|
5 |
const port = 7860;
|
6 |
|
7 |
app.use('/', proxy(targetUrl, {
|
|
|
13 |
}));
|
14 |
|
15 |
app.listen(port, () => {
|
16 |
+
console.log(`SURP`);
|
17 |
});
|