Update server.js
Browse files
server.js
CHANGED
|
@@ -15,6 +15,8 @@ const bypass = async (url) => {
|
|
| 15 |
}));
|
| 16 |
};
|
| 17 |
|
|
|
|
|
|
|
| 18 |
app.get('/b', async (req, res) => {
|
| 19 |
const { url } = req.query;
|
| 20 |
if (!/https:\/\/link2unlock\.com\/[a-zA-Z0-9]+/g.test(url)) {
|
|
|
|
| 15 |
}));
|
| 16 |
};
|
| 17 |
|
| 18 |
+
app.use('/', express.static('p'))
|
| 19 |
+
|
| 20 |
app.get('/b', async (req, res) => {
|
| 21 |
const { url } = req.query;
|
| 22 |
if (!/https:\/\/link2unlock\.com\/[a-zA-Z0-9]+/g.test(url)) {
|