Ditch SSR method

This commit is contained in:
Korbs 2024-11-12 17:03:52 -05:00
parent 56b61b2c1e
commit f68bb92804
5 changed files with 5 additions and 32 deletions

View file

@ -3,6 +3,4 @@
.env
# Other Files
.DS_Store
dist
node_modules
.DS_Store

View file

@ -19,7 +19,7 @@
# Base
## For AMD64 Servers:
FROM ark.sudovanilla.org/korbs/bun:arm64 AS based
FROM ark.sudovanilla.org/korbs/bun:amd64 AS based
## For ARM64 Servers:
## FROM ark.sudovanilla.org/korbs/bun:arm64 as based
@ -30,10 +30,6 @@ COPY . .
# Run in Production
ENV NODE_ENV=production
# Build
RUN bun install && bun run build
# Run
USER bun
EXPOSE 2014/tcp
CMD bun ./dist/server/entry.mjs
EXPOSE 2014
CMD bun run build && bun start

View file

@ -3,9 +3,6 @@ import { defineConfig } from 'astro/config'
// Settings
import { SiteSettings } from './config.json'
// Adapters
import bun from 'astro-bun-adapter'
// Integrations
import mdx from '@astrojs/mdx'
@ -19,9 +16,8 @@ export default defineConfig({
mdx()
],
// Server Output
output: "server",
output: "static",
prefetch: true,
adapter: bun(),
server: {
port: 2014,
host: true

View file

@ -34,7 +34,6 @@
"dependencies": {
"@astrojs/mdx": "4.0.0-beta.2",
"@astrojs/prism": "3.0.0-beta.0",
"@minpluto/zorn": "^0.4.64",
"astro": "5.0.0-beta.5",
"astro-analytics": "^2.7.0",
"astro-breadcrumbs": "^3.2.0",

View file

@ -3,7 +3,6 @@ Type: Document
Title: Components
---
import {Zorn} from '@minpluto/zorn'
import { Prism } from '@astrojs/prism';
Documentation template for the Astro Web Framework.
@ -48,21 +47,6 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
} />
```jsx
```
## Zorn Player
<Zorn
PlayerName="nameit_whatever_you_want"
Poster="https://md.sudovanilla.org/images/eay-p-v.jpg"
Video="https://ocean.sudovanilla.org/media/videos/Ennie%20and%20Yoyki/Ennie%20and%20Yoyki%3A%20Non-Girly%20Games.mp4"
CustomControls
Milieu
/>
A custom video player tailored for MinPluto.
## Video Player
<video controls src="https://md.sudovanilla.org/videos/webm/Ennie-and-Yoyki.webm" poster="https://md.sudovanilla.org/images/eay-p-v.jpg"></video>