Skip to content

Commit

Permalink
Update endpoints and bump API version
Browse files Browse the repository at this point in the history
  • Loading branch information
duogenesis committed Oct 6, 2023
1 parent bd9af57 commit e70d07f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
EOF
env:
NODE_OPTIONS: --openssl-legacy-provider
DUO_API_URL: https://api-22szm34g7q-ue.a.run.app
DUO_CHAT_URL: wss://chat-22szm34g7q-ue.a.run.app
DUO_API_URL: https://api.duolicious.app
DUO_CHAT_URL: wss://chat.duolicious.app
DUO_IMAGES_URL: https://user-images.duolicious.app
DUO_STATUS_URL: https://status-22szm34g7q-ue.a.run.app
DUO_STATUS_URL: https://status.duolicious.app
- uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion api/api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as _ from "lodash";
import { sessionToken } from '../kv-storage/session-token';
import { Buffer } from "buffer";

const SUPPORTED_API_VERSIONS = [1];
const SUPPORTED_API_VERSIONS = [2];

type ApiResponse = {
ok: boolean
Expand Down

0 comments on commit e70d07f

Please sign in to comment.