UNPKG
@oletizi/audio-tools
Version:
alpha (1.0.0-alpha.39)
latest (1.0.0-alpha.39)
1.0.0-alpha.39
Monorepo for hardware sampler utilities and format parsers
@oletizi/audio-tools
/
modules
/
sampler-attic
/
src
/
web
/
nextjs
/
config
/
route.ts
6 lines
•
219 B
text/typescript
View Raw
1
2
3
4
5
6
import
{
NextResponse
}
from
"next/server"
;
import
{loadClientConfig}
from
"@/lib/config-server"
;
export
async
function
GET
(
request
) {
const
cfg =
await
loadClientConfig
()
return
NextResponse
.
json
( {
data
: cfg}); }