You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 22, 2025. It is now read-only.
@@ -59,7 +59,7 @@ export const InspectorConfigSchema = z
59
59
.default(()=>defaultCors),
60
60
61
61
/**
62
-
* Token used to access the Studio.
62
+
* Token used to access the Inspector.
63
63
*/
64
64
token: z
65
65
.function()
@@ -68,9 +68,9 @@ export const InspectorConfigSchema = z
68
68
.default(()=>defaultTokenFn),
69
69
70
70
/**
71
-
* Default RivetKit server endpoint for Rivet Studio to connect to. This should be the same endpoint as what you use for your Rivet client to connect to RivetKit.
71
+
* Default RivetKit server endpoint for Rivet Inspector to connect to. This should be the same endpoint as what you use for your Rivet client to connect to RivetKit.
72
72
*
73
-
* This is a convenience property just for printing out the studio URL.
73
+
* This is a convenience property just for printing out the inspector URL.
"Studio Token is not set, but Studio is enabled. Please set it in the run configuration `inspector.token` or via `RIVETKIT_STUDIO_TOKEN` environment variable. Studio will not be accessible.",
62
+
"Inspector Token is not set, but Inspector is enabled. Please set it in the run configuration `inspector.token` or via `RIVETKIT_INSPECTOR_TOKEN` environment variable. Inspector will not be accessible.",
Copy file name to clipboardExpand all lines: packages/core/src/manager/router.ts
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -160,7 +160,7 @@ export function createManagerRouter(
160
160
161
161
router.use("*",loggerMiddleware(logger()));
162
162
163
-
if(runConfig.cors||runConfig.studio?.cors){
163
+
if(runConfig.cors||runConfig.inspector?.cors){
164
164
router.use("*",async(c,next)=>{
165
165
// Don't apply to WebSocket routes
166
166
// HACK: This could be insecure if we had a varargs path. We have to check the path suffix for WS since we don't know the path that this router was mounted.
@@ -179,19 +179,19 @@ export function createManagerRouter(
0 commit comments