Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
scffs committed Sep 7, 2023
1 parent 90accc4 commit ad26f55
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
15 changes: 15 additions & 0 deletions frontend/index-b3.4.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no, viewport-fit=cover"
/>
<title>Имба дневник</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default defineConfig({
safari10: false,
},
rollupOptions: {
input: 'index-b3.2.html',
input: 'index-b3.4.html',
output: {
manualChunks: {
react: ['react', 'react-dom'],
Expand All @@ -34,7 +34,7 @@ export default defineConfig({
},
// Указывать только для dev сборки.
// Либо index'у вернуть его исходное имя, а переименовывать только при деплое
base: 'index-b3.2.html',
// base: 'index-b3.4.html',
server: {
https: true,
}
Expand Down
6 changes: 3 additions & 3 deletions frontend/vk-hosting-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"static_path": "dist",
"app_id": 51740302,
"endpoints": {
"mobile": "index-b3.2.html",
"mvk": "index-b3.2.html",
"web": "index-b3.2.html"
"mobile": "index-b3.4.html",
"mvk": "index-b3.4.html",
"web": "index-b3.4.html"
}
}

0 comments on commit ad26f55

Please sign in to comment.