Add seed scripts, proxy Vite on public domain, and seed painting images.

Restore seed-wikipedia.js and seed-catalog-data.js so npm run setup works on a fresh clone. Point nginx at the Vite dev client and allow the public hostname in Vite config.
This commit is contained in:
Danila Khodjaef committed 2026-07-03 13:52:57 +03:00
1 parent f542c689c9
commit 2b4274093e
27 files changed
+496 -5

No files matched your search

+2
View File
@@ -10,6 +10,8 @@ export default defineConfig(({ mode }) => {
return {
plugins: [react()],
server: {
host: true,
allowedHosts: ['gallery.mysuperlab.netcraze.pro', 'localhost'],
proxy: {
'/api': apiTarget,
'/images': apiTarget,