Skip to content

Commit

Permalink
🔖 sync release v1.3.9 (#32)
Browse files Browse the repository at this point in the history
* fix(projects): 🐛 sync fix app version notification plugin with sub deploy path

* chore(release): 🔖 sync release v1.3.9
  • Loading branch information
skyfeiz authored Dec 23, 2024
1 parent f32b675 commit 5c2d2ab
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sa/elp",
"type": "module",
"version": "1.3.8",
"version": "1.3.9",
"description": "A fresh and elegant admin template, based on Vue3、Vite3、TypeScript、ElementPlus and UnoCSS. 一个基于Vue3、Vite3、TypeScript、ElementPlus and UnoCSS的清新优雅的中后台模版。",
"author": {
"name": "Soybean",
Expand Down
2 changes: 1 addition & 1 deletion packages/alova/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sa/alova",
"version": "1.3.8",
"version": "1.3.9",
"exports": {
".": "./src/index.ts",
"./fetch": "./src/fetch.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/axios/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sa/axios",
"version": "1.3.8",
"version": "1.3.9",
"exports": {
".": "./src/index.ts"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/color/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sa/color",
"version": "1.3.7",
"version": "1.3.9",
"exports": {
".": "./src/index.ts"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sa/hooks",
"version": "1.3.7",
"version": "1.3.9",
"exports": {
".": "./src/index.ts"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/materials/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sa/materials",
"version": "1.3.7",
"version": "1.3.9",
"exports": {
".": "./src/index.ts"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ofetch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sa/fetch",
"version": "1.3.7",
"version": "1.3.9",
"exports": {
".": "./src/index.ts"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sa/scripts",
"version": "1.3.8",
"version": "1.3.9",
"bin": {
"sa": "./bin.ts"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/uno-preset/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sa/uno-preset",
"version": "1.3.7",
"version": "1.3.9",
"exports": {
".": "./src/index.ts"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sa/utils",
"version": "1.3.7",
"version": "1.3.9",
"exports": {
".": "./src/index.ts"
},
Expand Down
4 changes: 3 additions & 1 deletion src/plugins/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ export function setupAppVersionNotification() {
}

async function getHtmlBuildTime() {
const res = await fetch(`/index.html?time=${Date.now()}`);
const baseUrl = import.meta.env.VITE_BASE_URL || '/';

const res = await fetch(`${baseUrl}index.html?time=${Date.now()}`);

const html = await res.text();

Expand Down

0 comments on commit 5c2d2ab

Please sign in to comment.