Skip to content

Commit 7ad6072

Browse files
index fix
1 parent 1d43513 commit 7ad6072

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

index.html

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,6 @@
55
<link rel="icon" href="/favicon.ico" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<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>
268
</head>
279
<body class="body">
2810
<div class="body-inner" id="app"></div>

0 commit comments

Comments
 (0)