15 lines
387 B
JavaScript
15 lines
387 B
JavaScript
|
'use strict'
|
||
|
|
||
|
const { swiper, generatorCode } = require('../../../controller/index')
|
||
|
const { swiperSchema, codeSchema } = require('../../../controller/schema')
|
||
|
//import controller from "../../../controller"
|
||
|
|
||
|
module.exports = async function (fastify, opts) {
|
||
|
fastify.get('/', async function (request, reply) {
|
||
|
return 'this is an example'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
module.exports.autoPrefix = '/api'
|
||
|
|