Compare commits

...
Author SHA1 Message Date
GuoQing LiuandGitHub 779134ed0d Define proxy host variable in vite.config.ts
Add a new line to define the proxy host variable.
2025-11-14 23:26:16 +08:00
GuoQing LiuandGitHub 2d99f2e850 Remove unnecessary newline in Dockerfile 2025-11-14 21:57:19 +08:00
ZhaiSoul df420783eb build: use vite .env 2025-11-13 05:50:08 +00:00
GuoQing LiuandGitHub 52e6fbebd2 Update build args to use short SHA output 2025-11-13 00:07:49 +08:00
GuoQing LiuandGitHub 78c3108d94 Add short-sha output to action.yml 2025-11-13 00:06:28 +08:00
GuoQing LiuandGitHub 230a397d0f Add build argument for GIT_COMMIT_HASH in CI workflow 2025-11-12 23:46:49 +08:00
GuoQing LiuandGitHub 332487d711 Fix indentation in Dockerfile for pip command 2025-11-12 13:16:40 +08:00
ZhaiSoul e4bacc2e71 chore: i18n use cache key 2025-11-11 08:34:06 +00:00
4 changed files with 4 additions and 1 deletions
+1
View File
@@ -15,6 +15,7 @@ frigate/version.py
web/build
web/node_modules
web/coverage
web/.env
core
!/web/**/*.ts
.idea/*
+1
View File
@@ -14,6 +14,7 @@ push-boards: $(BOARDS:%=push-%)
version:
echo 'VERSION = "$(VERSION)-$(COMMIT_HASH)"' > frigate/version.py
echo 'VITE_GIT_COMMIT_HASH=$(COMMIT_HASH)' > web/.env
local: version
docker buildx build --target=frigate --file docker/main/Dockerfile . \
+1
View File
@@ -22,3 +22,4 @@ dist-ssr
*.njsproj
*.sln
*.sw?
.env
+1 -1
View File
@@ -33,7 +33,7 @@ i18n
fallbackLng: "en", // use en if detected lng is not available
backend: {
loadPath: "locales/{{lng}}/{{ns}}.json",
loadPath: `locales/{{lng}}/{{ns}}.json?v=${import.meta.env.VITE_GIT_COMMIT_HASH || "unknown"}`,
},
ns: [