Skip to content

Commit

Permalink
fix: re-route endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
heirro committed Feb 15, 2024
1 parent b9857a0 commit 1ac0dce
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import Fastify from 'fastify'
import { routes } from './src/pilpres/result.js'
import { result } from './src/pilpres/result.js'
import { province } from './src/pilpres/province.js'


const fastify = Fastify({
logger: false
logger: true
})

fastify.get('/loaderio-88f18b6967d301353c4b45fbf3a5e09e.txt', async (request, reply) => {
reply.send('loaderio-88f18b6967d301353c4b45fbf3a5e09e')
})

fastify.register(routes)
fastify.register(province)
fastify.register(result)

/**
* Run the server!
Expand Down

0 comments on commit 1ac0dce

Please sign in to comment.