fix some (all?) Misskey references
This commit is contained in:
parent
2da85e1163
commit
a12815eabe
6 changed files with 15 additions and 15 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ html, body {
|
|||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
#misskey_app {
|
||||
#sharkey_app {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue