api.trigger.dev is now the default cloud url
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@trigger.dev/sdk": patch
|
||||
"@trigger.dev/cli": patch
|
||||
---
|
||||
|
||||
api.trigger.dev is now the default cloud url
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"@trigger.dev/sdk": patch
|
||||
---
|
||||
|
||||
Default the apiUrl to cloud.trigger.dev
|
||||
@@ -67,7 +67,7 @@ export const promptTriggerUrl = async (): Promise<string> => {
|
||||
message: "Are you using the Trigger.dev cloud or self-hosted?",
|
||||
choices: [
|
||||
{
|
||||
name: "Trigger.dev Cloud (https://cloud.trigger.dev)",
|
||||
name: `Trigger.dev Cloud (https://api.trigger.dev)`,
|
||||
value: "cloud",
|
||||
default: true,
|
||||
},
|
||||
|
||||
@@ -18,4 +18,4 @@ export const TITLE_TEXT = `
|
||||
export const DEFAULT_APP_NAME = "my-triggers";
|
||||
export const COMMAND_NAME = "@trigger.dev/cli";
|
||||
export const TEMPLATE_ORGANIZATION = "triggerdotdev";
|
||||
export const DEFAULT_TRIGGER_URL = "https://cloud.trigger.dev";
|
||||
export const DEFAULT_TRIGGER_URL = "https://api.trigger.dev";
|
||||
|
||||
@@ -63,7 +63,7 @@ export class ApiClient {
|
||||
this.#apiUrl =
|
||||
this.#options.apiUrl ??
|
||||
process.env.TRIGGER_API_URL ??
|
||||
"https://cloud.trigger.dev";
|
||||
"https://api.trigger.dev";
|
||||
this.#logger = new Logger("trigger.dev", this.#options.logLevel);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user