kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
feat: deploy gateway to CF (WIP; DNS still pending)
rodzic
771f0d9cc8
commit
48c480eb00
|
@ -13,8 +13,8 @@
|
|||
"type": "module",
|
||||
"source": "./src/worker.ts",
|
||||
"scripts": {
|
||||
"deploy": "wrangler deploy --outdir dist --upload-source-maps --var SENTRY_RELEASE:$(sentry-cli releases propose-version)",
|
||||
"dev": "wrangler dev",
|
||||
"deploy": "wrangler deploy --var SENTRY_RELEASE:$(sentry-cli releases propose-version)",
|
||||
"cf-clear-cache": "del .wrangler",
|
||||
"clean": "del dist",
|
||||
"test": "run-s test:*",
|
||||
|
|
|
@ -13,6 +13,12 @@
|
|||
"enabled": true,
|
||||
"head_sampling_rate": 1
|
||||
},
|
||||
"routes": [
|
||||
{
|
||||
"pattern": "gateway.agentic.so",
|
||||
"custom_domain": true
|
||||
}
|
||||
],
|
||||
"migrations": [
|
||||
{
|
||||
"tag": "v1",
|
||||
|
|
|
@ -458,7 +458,7 @@ export function getCodeForHTTPConfig({
|
|||
|
||||
case 'httpie':
|
||||
return {
|
||||
code: `http -j ${url} query='example google search'`,
|
||||
code: `http ${url} query='example google search'`,
|
||||
lang: 'bash'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"source": "./src/worker.ts",
|
||||
"scripts": {
|
||||
"dev": "wrangler dev",
|
||||
"deploy": "wrangler deploy --outdir dist --upload-source-maps",
|
||||
"deploy": "wrangler deploy",
|
||||
"test": "run-s test:*",
|
||||
"test:typecheck": "tsc --noEmit"
|
||||
},
|
||||
|
|
1
todo.md
1
todo.md
|
@ -25,6 +25,7 @@
|
|||
- add basic legal terms and privacy policy (and update links in stripe)
|
||||
- add caching to public projects api endpoints
|
||||
- add support for [`@google/genai`](https://github.com/googleapis/js-genai) tools adapter and examples
|
||||
- fix gateway sentry deployment upload
|
||||
|
||||
## TODO: Post-MVP
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue