Skip to content

Commit

Permalink
Update prod domain to portal2.sr
Browse files Browse the repository at this point in the history
  • Loading branch information
NeKzor committed Oct 22, 2023
1 parent feb73ea commit 95853c8
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
name: Autorender Client ${{ github.ref_name }}
prerelease: ${{ contains(github.ref, 'pre') }}
body: |
For render clients of [autorender.nekz.me](https://autorender.nekz.me).
For render clients of [autorender.portal2.sr](https://autorender.portal2.sr).
Windows: [Download autorender-${{ github.ref_name }}-windows.zip](https://github.com/NeKzor/autorender/releases/download/${{ github.ref_name }}/autorender-${{ github.ref_name }}-windows.zip)
Linux: [Download autorender-${{ github.ref_name }}-linux.zip](https://github.com/NeKzor/autorender/releases/download/${{ github.ref_name }}/autorender-${{ github.ref_name }}-linux.zip)
files: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ sequenceDiagram
Discord->>Bot: Upload demo file
Bot->>Discord: Send status message
Note right of Bot: autorender.nekz.me
Note right of Bot: autorender.portal2.sr
Bot->>+Server: Create video
Server->>Server: Process demo file
Server->>-Bot: Send video data
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

## What NOT to do

- Do NOT attack the production system (autorender.nekz.me)
- Do NOT attack the production system (autorender.portal2.sr)
- Do NOT publish your report before the deadlines, see below
- Do NOT report useless attack surfaces like
- Social engineering
Expand Down
4 changes: 2 additions & 2 deletions docker/compose/autorender.portal2.sr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
- autorender.server:127.0.0.1
volumes:
- ./logs/server:/logs/server:rw
- ./storage:/storage:rw
- /mnt/autorender-content:/storage:rw
- ./.env.server:/app/.env:rw
- ./entrypoint.server.sh:/app/entrypoint.sh:rw
bot:
Expand Down Expand Up @@ -42,4 +42,4 @@ services:
volumes:
- ./initdb:/docker-entrypoint-initdb.d
- ./mysql:/var/lib/mysql
- ./backups:/backups
- /mnt/autorender-content/backups:/backups
4 changes: 2 additions & 2 deletions src/bot/commands/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ const validateUrl = (urlString: string) => {
return isNaN(id) ? null : `https://board.portal2.sr/getDemo?id=${id}`;
}

// Input: https://autorender.nekz.me/queue/ScDd_mkTzZs
// Input: https://autorender.nekz.me/videos/ScDd_mkTzZs
// Input: https://autorender.portal2.sr/queue/ScDd_mkTzZs
// Input: https://autorender.portal2.sr/videos/ScDd_mkTzZs
// Output: {AUTORENDER_BASE_API}/storage/demos/ScDd_mkTzZs

const queueUrl = getPublicUrl('/queue/');
Expand Down
2 changes: 1 addition & 1 deletion src/client/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const getOptions = () => options;
const cli = new Command()
.name('autorender')
.version(AutorenderVersion)
.description('Command line app for rendering and uploading videos to autorender.nekz.me.')
.description('Command line app for rendering and uploading videos to autorender.portal2.sr.')
.globalOption('-v, --verbose', 'Turn on verbose error logging.')
.globalOption('-d, --dev', 'Switch into developer mode.', { hidden: true })
.globalAction(({ verbose, dev }) => {
Expand Down
4 changes: 2 additions & 2 deletions src/client/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ export const AutorenderVersion = '1.0.0';

export const AutorenderConnectUri = {
dev: 'wss://autorender.portal2.local/connect/client',
prod: 'wss://autorender.nekz.me/connect/client',
prod: 'wss://autorender.portal2.sr/connect/client',
};

export const AutorenderBaseApi = {
dev: 'https://autorender.portal2.local',
prod: 'https://autorender.nekz.me',
prod: 'https://autorender.portal2.sr',
};

export const UserAgent = `autorender-client/${AutorenderVersion}`;
2 changes: 1 addition & 1 deletion src/client/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"tasks": {
"dev": "deno run --no-prompt --allow-hrtime --allow-env --allow-read=\"autorender.yaml,autorender.cfg,log,worker.ts\" --allow-write=\"autorender.yaml,log\" --allow-run --allow-net=deno.land,autorender.portal2.local,steamusercontent-a.akamaihd.net,api.github.com,github.com,objects.githubusercontent.com --unsafely-ignore-certificate-errors=autorender.portal2.local --watch main.ts --dev",
"test": "deno test --allow-net --allow-read --allow-env",
"compile": "deno compile --output bin/$COMPILATION_BINARY_NAME --target $COMPILATION_TARGET --include ./worker.ts --include ./upload.ts --no-prompt --allow-hrtime --allow-env --allow-read=\"autorender.yaml,autorender.cfg,log,worker.ts$COMPILATION_READ_WRITE_GAME_PATHS\" --allow-write=\"autorender.yaml,log$COMPILATION_READ_WRITE_GAME_PATHS\" --allow-run --allow-net=deno.land,autorender.portal2.local,autorender.nekz.me,steamusercontent-a.akamaihd.net,api.github.com,github.com,objects.githubusercontent.com $COMPILATION_DEVELOPER_FLAGS main.ts"
"compile": "deno compile --output bin/$COMPILATION_BINARY_NAME --target $COMPILATION_TARGET --include ./worker.ts --include ./upload.ts --no-prompt --allow-hrtime --allow-env --allow-read=\"autorender.yaml,autorender.cfg,log,worker.ts$COMPILATION_READ_WRITE_GAME_PATHS\" --allow-write=\"autorender.yaml,log$COMPILATION_READ_WRITE_GAME_PATHS\" --allow-run --allow-net=deno.land,autorender.portal2.local,autorender.portal2.sr,steamusercontent-a.akamaihd.net,api.github.com,github.com,objects.githubusercontent.com $COMPILATION_DEVELOPER_FLAGS main.ts"
},
"fmt": {
"useTabs": false,
Expand Down

0 comments on commit 95853c8

Please sign in to comment.