This commit is contained in:
syuilo 2024-08-27 08:16:02 +09:00
parent 093cd2ca7f
commit e6c7b914d7
2 changed files with 3 additions and 1 deletions

View file

@ -11,6 +11,8 @@ import { createApp, defineAsyncComponent } from 'vue';
import { setIframeId } from '@/post-message.js';
import { parseEmbedParams } from '@/embed-page.js';
console.info('Misskey Embed');
const params = new URLSearchParams(location.search);
const embedParams = parseEmbedParams(params);

View file

@ -29,7 +29,7 @@ const devConfig: UserConfig = {
...defaultConfig,
root: 'src',
publicDir: '../assets',
base: './',
base: '/embed',
server: {
host: 'localhost',
port: 5174,