mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-13 03:50:02 -04:00
Found bug; fixed some routing
This commit is contained in:
parent
42f7a85ef4
commit
5e6179a974
8 changed files with 15 additions and 133 deletions
2
test.js
2
test.js
|
@ -2,7 +2,7 @@ const axios = require('axios');
|
|||
|
||||
async function testServerResponse() {
|
||||
try {
|
||||
const response = await axios.get('http://localhost:8080/');
|
||||
const response = await axios.get('http://localhost:8080/?pathtonowhere');
|
||||
if (response.status === 200) {
|
||||
console.log('Server responded with status code 200. Test passed.');
|
||||
process.exit(0); // Exit with success
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue