on master help sign in
fix config imports, add dev env setup TODOs, change eyre cors approve command
commite1fe0c9c67ca61b9563403c52b00883fa6a70404 author~sarlev-sarsen <tlatfcp@protonmail.com> dateTue 18 Nov 2025, 13:20 (1 year ago) parent494e6f5
2 files changed+10−8
DEVELOPMENT.md+2−1 vite.config.ts+8−7
DEVELOPMENT.md+2−1
@@ -34,6 +34,7 @@ it's a good place to get started. On the testnet, it's the address:
3434
3535You can authenticate as it using the following mnemonic:
3636
37+TODO: THIS SEED FAILS ON RECOVERY KEY SIGN IN with error: `"code":7979,"data":{}}`
3738```
3839benefit crew supreme gesture quantum web media hazard theory mercy wing kitten
3940```
@@ -207,7 +208,7 @@ Start a local fake ship from the master branch in the [urbit repo](https://githu
207208> :roller|local
208209> :roller|setkey '58d62eb79797502bc0f66cd3e7a49d00287bff53a2734b799ef09cb746340ed0'
209210> :roller|quota 9.999
210−> |cors-approve 'https://127.0.0.1:3000'
211+> |eyre/cors/approve 'https://127.0.0.1:3000'
211212:: Once L2 txs have been sent via Bridge, this will manually commit and batch them, avoiding waiting for the timer
212213::
213214> :roller|commit
vite.config.ts+8−7
@@ -1,17 +1,18 @@
11import { defineConfig } from 'vite'
2+import GlobalPolyFill from "@esbuild-plugins/node-globals-polyfill";
3+import nodePolyfills from 'rollup-plugin-node-polyfills';
4+import inject from '@rollup/plugin-inject'
25import react from '@vitejs/plugin-react'
3−import comlink from 'vite-plugin-comlink'
6+import svgr from 'vite-plugin-svgr';
7+import { comlink } from 'vite-plugin-comlink'
8+import { resolve } from 'path';
49import basicSsl from '@vitejs/plugin-basic-ssl'
5−import svgr from 'vite-plugin-svgr'
6−import { nodePolyfills } from 'vite-plugin-node-polyfills'
7−import GlobalPolyFill from '@esbuild-plugins/node-globals-polyfill'
8−import inject from '@rollup/plugin-inject'
910import fs from 'fs'
1011import path from 'path'
11−import { resolve } from 'path'
1212
13+// https://vitejs.dev/config/
1314export default defineConfig(({ mode }) => {
14− // Try to use mkcert certificates first
15+
1516 const certPath = path.resolve(__dirname, 'localhost+2.pem')
1617 const keyPath = path.resolve(__dirname, 'localhost+2-key.pem')
1718