Update
This commit is contained in:
rodič
f52d569bdf
revize
c2e1aa498e
|
@ -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
|
||||
|
|
Načítá se…
Odkázat v novém úkolu