File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export default {
17
17
test : / \. ( w a s m ) $ / i,
18
18
type : 'asset/resource' ,
19
19
generator : {
20
- filename : 'modules/[hash][ext][query]'
20
+ filename : 'modules/frontend/ [hash][ext][query]'
21
21
}
22
22
} , {
23
23
test : / \. ( c s s ) $ / i,
@@ -26,13 +26,13 @@ export default {
26
26
test : / \. ( p n g | s v g | j p g | j p e g | g i f ) $ / i,
27
27
type : 'asset/resource' ,
28
28
generator : {
29
- filename : 'images/[hash][ext][query]'
29
+ filename : 'images/frontend/ [hash][ext][query]'
30
30
}
31
31
} , {
32
32
test : / \. ( w o f f | w o f f 2 | e o t | t t f | o t f ) $ / i,
33
33
type : 'asset/resource' ,
34
34
generator : {
35
- filename : 'fonts/[hash][ext][query]'
35
+ filename : 'fonts/frontend/ [hash][ext][query]'
36
36
}
37
37
}
38
38
] ,
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ const app = express()
6
6
app . use ( '/rest' , proxy ( { target : 'http://localhost:3001' } ) )
7
7
app . use ( '/rest-doc' , proxy ( { target : 'http://localhost:3001' } ) )
8
8
app . use ( '/mqtt' , proxy ( { target : 'http://localhost:3004/' , ws : true } ) )
9
+ app . use ( '/modules/worker' , proxy ( { target : 'http://localhost:3005' } ) )
9
10
app . use ( '/scripts/worker' , proxy ( { target : 'http://localhost:3005' } ) )
10
11
app . use ( '/' , proxy ( { target : 'http://localhost:3002' } ) )
11
12
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export default {
15
15
test : / \. ( w a s m ) $ / i,
16
16
type : 'asset/resource' ,
17
17
generator : {
18
- filename : 'modules/[hash][ext][query]'
18
+ filename : 'modules/worker/ [hash][ext][query]'
19
19
}
20
20
}
21
21
] ,
You can’t perform that action at this time.
0 commit comments