mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
The opengraph embed requires the image to be accessible at the linked location. As you can see by clicking on this link, https://photonvision.org/images/PhotonVision-Icon-BG_2.png, it is not accessible. This is because we need to configure a public directory when we publish with vite, as the subfolders will not inherently be published. This PR adds a public directory and moves all our images there. I also moved the video to a video directory rather than it being in images.
9 lines
213 B
TypeScript
9 lines
213 B
TypeScript
import { defineConfig } from "vite";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
import vue from "@vitejs/plugin-vue";
|
|
|
|
export default defineConfig({
|
|
publicDir: "public",
|
|
plugins: [vue(), tailwindcss()],
|
|
});
|