We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 782a709 commit e052008Copy full SHA for e052008
src/routes/(api)/api/[project]/[lang]/translations/+server.ts
@@ -0,0 +1,13 @@
1
+import type { RequestHandler } from './$types'
2
+
3
+export const POST: RequestHandler = ({ params }) => {
4
+ return new Response(
5
+ `getting POST for translations on project "${params.project}" and lang "${params.lang}"`
6
+ )
7
+}
8
9
+export const GET: RequestHandler = ({ params }) => {
10
11
+ `getting GET for translations on project "${params.project}" and lang "${params.lang}"`
12
13
src/routes/(api)/api/[project]/config/+server.ts
@@ -0,0 +1,5 @@
+ return new Response(`getting post for config on project "${params.project}"`)
0 commit comments