Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
RFbkak37y3kIY committed Sep 9, 2022
1 parent 4c227f8 commit 7a7f195
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,19 @@
<head>
<meta charset="utf-8">
<title>ClickHouse-Mate</title>
<base href="/" />
<base href="">
<script>
/**
If app running not on root folder, for example: http://domain/sub-folder/
then window['base-href'] should be equal "/sub-folder/"
EXAMPLE:
window['base-href'] = '/sub-folder/';
*/
window['base-href'] = '/clickhouse-mate/';
document.head.querySelector('base').href = window['base-href'];
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="preconnect" href="https://fonts.gstatic.com">
Expand Down

0 comments on commit 7a7f195

Please sign in to comment.