Skip to content

Commit b06630b

Browse files
fix: update urls for new dashboard (#46)
Co-authored-by: Jared Lunde <[email protected]>
1 parent ff97581 commit b06630b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

commands/init/mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export const init = command("init", {
131131
yield "";
132132
yield fmt.colors.bold("Console URL");
133133
yield new URL(
134-
`/${team}/projects/${app.id}/gradient-deployments`,
134+
`/${team}/projects/${app.id}/apps`,
135135
env.get("PAPERSPACE_CONSOLE_URL"),
136136
) + "";
137137
yield "";

commands/login/mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const login = command("login", {
3131
if (!apiKey) {
3232
try {
3333
await open(
34-
new URL("settings/apikeys", env.get("PAPERSPACE_CONSOLE_URL")) + "",
34+
new URL("settings/api-keys", env.get("PAPERSPACE_CONSOLE_URL")) + "",
3535
);
3636
} catch (_err) {
3737
// do nothing it's all good

commands/signup/mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ export const signup = command("signup", {
1616
commands: subCommands,
1717
}).run(function* () {
1818
yield "Opening Paperspace in your browser...";
19-
open(new URL("/signup", env.get("PAPERSPACE_CONSOLE_URL")) + "");
19+
open(new URL("/sign-up", env.get("PAPERSPACE_CONSOLE_URL")) + "");
2020
});

commands/up/mod.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export async function* runUp(
180180
yield `✨ ${fmt.colors.bold("Your app is ready")}\n`;
181181
yield " " + fmt.colors.bold("Console URL");
182182
yield " " + new URL(
183-
`/${team}/projects/${project.id}/gradient-deployments/${deployment.id}`,
183+
`/${team}/apps/${deployment.id}`,
184184
env.get("PAPERSPACE_CONSOLE_URL"),
185185
).toString();
186186
yield "";
@@ -190,7 +190,7 @@ export async function* runUp(
190190
yield `🌙 ${fmt.colors.bold("Your app was disabled")}\n`;
191191
yield " " + fmt.colors.bold("Console URL");
192192
yield " " + new URL(
193-
`/${team}/projects/${project.id}/gradient-deployments/${deployment.id}`,
193+
`/${team}/apps/${deployment.id}`,
194194
env.get("PAPERSPACE_CONSOLE_URL"),
195195
);
196196
}

0 commit comments

Comments
 (0)