@tthr/vue 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/nuxt/module.ts +4 -2
- package/package.json +1 -1
package/nuxt/module.ts
CHANGED
|
@@ -64,12 +64,14 @@ export default defineNuxtModule<TetherModuleOptions>({
|
|
|
64
64
|
// Add server API routes for proxying Tether requests
|
|
65
65
|
addServerHandler({
|
|
66
66
|
route: '/api/_tether/query',
|
|
67
|
-
|
|
67
|
+
method: 'post',
|
|
68
|
+
handler: resolver.resolve('./runtime/server/query.post.ts'),
|
|
68
69
|
});
|
|
69
70
|
|
|
70
71
|
addServerHandler({
|
|
71
72
|
route: '/api/_tether/mutation',
|
|
72
|
-
|
|
73
|
+
method: 'post',
|
|
74
|
+
handler: resolver.resolve('./runtime/server/mutation.post.ts'),
|
|
73
75
|
});
|
|
74
76
|
|
|
75
77
|
// Add the client plugin for WebSocket subscriptions only
|