chore: add gmail hook setup notes
This commit is contained in:
@@ -114,6 +114,7 @@ export async function runGmailSetup(opts: GmailSetupOptions) {
|
||||
opts.project ??
|
||||
parsedTopic?.projectId ??
|
||||
(await resolveProjectIdFromGogCredentials());
|
||||
// Gmail watch requires the Pub/Sub topic to live in the OAuth client project.
|
||||
if (!projectId) {
|
||||
throw new Error(
|
||||
"GCP project id required (use --project or ensure gog credentials are available)",
|
||||
|
||||
@@ -172,6 +172,7 @@ export async function ensureTailscaleEndpoint(params: {
|
||||
}
|
||||
|
||||
const baseUrl = `https://${dnsName}${pathArg}`;
|
||||
// Funnel/serve strips pathArg before proxying; keep it only in the public URL.
|
||||
return params.token ? `${baseUrl}?token=${params.token}` : baseUrl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user