This commit is contained in:
tree 2022-10-21 12:30:04 +02:00
rodič f52d569bdf
revize c2e1aa498e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání

Zobrazit soubor

@ -12,7 +12,7 @@ const init = async () => {
server.route({
method: 'GET',
path: '/',
path: '/api/spec',
handler: (request, h) => {
const spec = JSON.parse(fs.readFileSync('../build/spec.json'))
return spec