1 parent 1d43513 commit 7ad6072Copy full SHA for 7ad6072
1 file changed
index.html
@@ -5,24 +5,6 @@
5
<link rel="icon" href="/favicon.ico" />
6
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
<title>Portfolio</title>
8
- <script type="text/javascript">
9
- const pathSegmentsToKeep = 1 // потому что base = /portfolio-vue-vite/
10
- const l = window.location
11
- l.replace(
12
- l.protocol +
13
- '//' +
14
- l.hostname +
15
- (l.port ? ':' + l.port : '') +
16
- l.pathname
17
- .split('/')
18
- .slice(0, 1 + pathSegmentsToKeep)
19
- .join('/') +
20
- '/?/' +
21
- l.pathname.slice(1).split('/').slice(pathSegmentsToKeep).join('/').replace(/&/g, '~and~') +
22
- (l.search ? '&' + l.search.slice(1).replace(/&/g, '~and~') : '') +
23
- l.hash
24
- )
25
- </script>
26
</head>
27
<body class="body">
28
<div class="body-inner" id="app"></div>
0 commit comments