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
2026-07-03 13:52:57 +03:00
parent f542c689c9
commit 2b4274093e
27 changed files with 496 additions and 5 deletions
+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,