Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 3b57437

Browse files
committed
fix(core): fix path for auto-configure serverless (#1401)
1 parent ea34e4a commit 3b57437

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/next-js/src/mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const toNextHandler = (
2828

2929
inputConfig.runEngine = true;
3030
inputConfig.autoConfigureServerless = {
31-
url: `${publicUrl}/api/rivet/start`,
31+
url: `${publicUrl}/api/rivet`,
3232
};
3333
} else {
3434
logger().debug(

packages/rivetkit/src/registry/mod.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,7 @@ async function configureServerlessRunner(config: RunnerConfig): Promise<void> {
266266
});
267267
const serverlessConfig = {
268268
serverless: {
269-
url:
270-
customConfig.url ||
271-
`http://localhost:${config.defaultServerPort}/start`,
269+
url: customConfig.url || `http://localhost:${config.defaultServerPort}`,
272270
headers: customConfig.headers || {},
273271
max_runners: customConfig.maxRunners ?? 100,
274272
min_runners: customConfig.minRunners ?? 0,

0 commit comments

Comments
 (0)