Found bug; fixed some routing

This commit is contained in:
QuiteAFancyEmerald 2024-07-08 07:28:21 -07:00
parent 42f7a85ef4
commit 5e6179a974
8 changed files with 15 additions and 133 deletions

View file

@ -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