chore: migrate update feed URL to updates.ttrpgplayer.ru (v1.0.1)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -28,4 +28,4 @@ npm run test
|
||||
|
||||
## Деплой
|
||||
|
||||
`npm run build` → статика в `dist/`. Можно разместить на любом static hosting или за reverse proxy рядом с `updates.mailib.ru`.
|
||||
`npm run build` → статика в `dist/`. Продакшен: `https://ttrpgplayer.ru/` (`/var/www/ttrpgplayer_ru/www` на VPS). Ссылки на установщики берутся из `https://updates.ttrpgplayer.ru/`.
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ttrpg-player-landing",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "Marketing landing for TTRPG Player (НРИ Плеер)",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
@@ -19,7 +19,7 @@ export const SHOWCASE_VIDEO = {
|
||||
} as const;
|
||||
|
||||
/** Same feed as electron-builder `publish.url` in dnd_player/package.json */
|
||||
export const UPDATE_FEED_BASE = "https://updates.mailib.ru/";
|
||||
export const UPDATE_FEED_BASE = "https://updates.ttrpgplayer.ru/";
|
||||
|
||||
/** Fixed artifact names — version lives only in latest*.yml on the server */
|
||||
export const DOWNLOAD_ARTIFACTS = {
|
||||
|
||||
@@ -54,7 +54,7 @@ describe("siteContent", () => {
|
||||
});
|
||||
|
||||
it("points download buttons to update feed artifacts", () => {
|
||||
assert.equal(UPDATE_FEED_BASE, "https://updates.mailib.ru/");
|
||||
assert.equal(UPDATE_FEED_BASE, "https://updates.ttrpgplayer.ru/");
|
||||
assert.equal(
|
||||
DOWNLOAD_LINKS.windows,
|
||||
`${UPDATE_FEED_BASE}${DOWNLOAD_ARTIFACTS.windows}`,
|
||||
|
||||
Reference in New Issue
Block a user