Skip to content

Commit

Permalink
Merge pull request #85 from MizuiMiduki/Dev
Browse files Browse the repository at this point in the history
3.0.1
  • Loading branch information
MizuiMiduki authored Sep 28, 2024
2 parents 15d5c9d + 1aef4b2 commit 1c0e7fa
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mizuna -ノート専用Misskeyクライアント</title>
<meta name="description" content="Mizunaは機能をノート送信のみにすることで通信量削減に重点を置いたMisskeyクライアントです"/>
<link rel="manifest" href="/manifest.json">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://unpkg.com/dexie/dist/dexie.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion js/option/mizuna_option.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mizuna_options = {
mizuna_version: "3.0",
mizuna_version: "3.0.1",
mizuna_address: "https://" + location.hostname,
maintenance: false,
}
Expand Down
8 changes: 8 additions & 0 deletions maintenance.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>メンテナンス | Mizuna</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<link rel="icon" href="/icon.png">

<style>
Expand Down Expand Up @@ -51,6 +52,13 @@
margin-top: 20px;
}
</style>
<script>
$.getScript("/js/option/mizuna_option.js", function () {
if (false === mizuna_options.maintenance) {
window.location.href = mizuna_options.mizuna_address;
}
});
</script>
</head>

<body>
Expand Down
1 change: 0 additions & 1 deletion parts/add_account.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<datalist id="server_address_list">
<option value="misskey.io">
<option value="mfmf.club">
<option value="social.sda1.net">
<option value="misskey.systems">
<option value="yojohan.cc">
</datalist>
Expand Down

0 comments on commit 1c0e7fa

Please sign in to comment.