Merge literally everything into main so I stop just working on one branch #14

Merged
Ajdj100 merged 64 commits from recruiter into main 2025-10-28 13:40:41 -05:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 84207fd6d8 - Show all commits

View File

@@ -21,7 +21,7 @@ app.post('/application', (req, res) => {
res.send('Application received') res.send('Application received')
}); });
app.get('/me/application', (req, res) => { app.get('/application/me', (req, res) => {
if (application) { if (application) {
let data = { let data = {
"app": application, "app": application,

View File

@@ -23,7 +23,7 @@ type ApplicationFull = Partial<{
const addr = "localhost:3000" const addr = "localhost:3000"
export async function loadApplication(): Promise<ApplicationFull | null> { export async function loadApplication(): Promise<ApplicationFull | null> {
const res = await fetch(`http://${addr}/me/application`) const res = await fetch(`http://${addr}/application/me`)
if (res.status === 204) return null if (res.status === 204) return null
if (!res.ok) throw new Error('Failed to load application') if (!res.ok) throw new Error('Failed to load application')
const json = await res.json() const json = await res.json()