feat: remove iframe test
This commit is contained in:
parent
cefc8984cd
commit
d02dcc30ba
2 changed files with 4 additions and 4310 deletions
4306
pnpm-lock.yaml
4306
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
|
@ -4,8 +4,8 @@ import Card from "../components/Card.astro";
|
|||
import Footer from "../components/Footer.astro";
|
||||
import { stuff } from '../constants/stuff';
|
||||
|
||||
const isDev = import.meta.env.DEV;
|
||||
const getOriginUrl = (path: string) => isDev ? `http://localhost:5000/${path}` : path;
|
||||
// const isDev = import.meta.env.DEV;
|
||||
// const getOriginUrl = (path: string) => isDev ? `http://localhost:5000/${path}` : path;
|
||||
---
|
||||
|
||||
<Layout>
|
||||
|
@ -58,7 +58,7 @@ const getOriginUrl = (path: string) => isDev ? `http://localhost:5000/${path}` :
|
|||
/>
|
||||
</ul>
|
||||
<Footer />
|
||||
<iframe style="width:100%" loading="lazy" src={getOriginUrl('p/feed')}></iframe>
|
||||
<!-- iframe style="width:100%" loading="lazy" src={getOriginUrl('p/feed')}></iframe -->
|
||||
</section>
|
||||
</main>
|
||||
</Layout>
|
||||
|
@ -213,4 +213,4 @@ const getOriginUrl = (path: string) => isDev ? `http://localhost:5000/${path}` :
|
|||
font-size: var(--font-size-base);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue