Skip to content

fix: update urls for new dashboard #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion commands/init/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const init = command("init", {
yield "";
yield fmt.colors.bold("Console URL");
yield new URL(
`/${team}/projects/${app.id}/gradient-deployments`,
`/${team}/projects/${app.id}/apps`,
env.get("PAPERSPACE_CONSOLE_URL"),
) + "";
yield "";
Expand Down
2 changes: 1 addition & 1 deletion commands/login/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const login = command("login", {
if (!apiKey) {
try {
await open(
new URL("settings/apikeys", env.get("PAPERSPACE_CONSOLE_URL")) + "",
new URL("settings/api-keys", env.get("PAPERSPACE_CONSOLE_URL")) + "",
);
} catch (_err) {
// do nothing it's all good
Expand Down
2 changes: 1 addition & 1 deletion commands/signup/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export const signup = command("signup", {
commands: subCommands,
}).run(function* () {
yield "Opening Paperspace in your browser...";
open(new URL("/signup", env.get("PAPERSPACE_CONSOLE_URL")) + "");
open(new URL("/sign-up", env.get("PAPERSPACE_CONSOLE_URL")) + "");
});
4 changes: 2 additions & 2 deletions commands/up/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export async function* runUp(
yield `✨ ${fmt.colors.bold("Your app is ready")}\n`;
yield " " + fmt.colors.bold("Console URL");
yield " " + new URL(
`/${team}/projects/${project.id}/gradient-deployments/${deployment.id}`,
`/${team}/apps/${deployment.id}`,
env.get("PAPERSPACE_CONSOLE_URL"),
).toString();
yield "";
Expand All @@ -190,7 +190,7 @@ export async function* runUp(
yield `🌙 ${fmt.colors.bold("Your app was disabled")}\n`;
yield " " + fmt.colors.bold("Console URL");
yield " " + new URL(
`/${team}/projects/${project.id}/gradient-deployments/${deployment.id}`,
`/${team}/apps/${deployment.id}`,
env.get("PAPERSPACE_CONSOLE_URL"),
);
}
Expand Down