fix some (all?) Misskey references

This commit is contained in:
dakkar 2024-10-11 09:59:21 +01:00
parent 2da85e1163
commit a12815eabe
6 changed files with 15 additions and 15 deletions

View file

@ -22,7 +22,7 @@ import { serverContext } from '@/server-context.js';
import type { Theme } from '@/theme.js';
console.log('Misskey Embed');
console.log('Sharkey Embed');
//#region Embedパラメータの取得・パース
const params = new URLSearchParams(location.search);
@ -100,7 +100,7 @@ app.provide(DI.embedParams, embedParams);
// https://github.com/misskey-dev/misskey/pull/8575#issuecomment-1114239210
// なぜか2回実行されることがあるため、mountするdivを1つに制限する
const rootEl = ((): HTMLElement => {
const MISSKEY_MOUNT_DIV_ID = 'misskey_app';
const MISSKEY_MOUNT_DIV_ID = 'sharkey_app';
const currentRoot = document.getElementById(MISSKEY_MOUNT_DIV_ID);

View file

@ -25,12 +25,12 @@
connect-src 'self' localhost:3000 localhost:5173 127.0.0.1:5173 127.0.0.1:3000 https://newassets.hcaptcha.com;
frame-src *;"
/>
<meta property="og:site_name" content="[DEV BUILD] Misskey" />
<meta property="og:site_name" content="[DEV BUILD] Sharkey" />
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div id="misskey_app"></div>
<div id="sharkey_app"></div>
<script type="module" src="./boot.ts"></script>
</body>
</html>

View file

@ -63,7 +63,7 @@ html, body {
scroll-behavior: smooth;
}
#misskey_app {
#sharkey_app {
height: 100%;
}