import { sveltekit } from '@sveltejs/kit/vite'; import path from 'path'; /** @type {import('vite').UserConfig} */ const config = { plugins: [sveltekit()], resolve: { alias: { $comp: path.resolve('src/components/index.js') } }, server: { proxy: { '/api': { target: 'http://localhost:3119', rewrite: (path) => path.replace(/^\/api/, '') } } } }; export default config; k rel='vcs-git' href='https://git.coinos.io/coinos-ui.git' title='coinos-ui.git Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/+layout.server.js
blob: f5fa10593407c422532e8fbb7f5a34a6325c4425 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43