File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,14 @@ export function makeServer({ environment = 'development' } = {}) {
24
24
25
25
// -------------------------------------------------- Routes //
26
26
routes ( ) {
27
- this . namespace = 'vuetify-inline-fields/playground/api' ;
27
+ let namespace = 'vuetify-inline-fields/api' ;
28
+
29
+ if ( this . environment === 'playground' ) {
30
+ namespace = 'vuetify-inline-fields/playground/api' ;
31
+ }
32
+
33
+ this . namespace = namespace ;
34
+
28
35
29
36
// ------------------------- Client Side //
30
37
this . get ( 'users' , ( schema ) => {
@@ -87,6 +94,9 @@ export function makeServer({ environment = 'development' } = {}) {
87
94
88
95
return response ;
89
96
} ) ;
97
+
98
+ this . passthrough ( 'https://cdn.jsdelivr.net/gh/PrismJS/[email protected] /*' ) ;
99
+ this . passthrough ( 'https://cdn.jsdelivr.net/gh/highlightjs/[email protected] /*' ) ;
90
100
} ,
91
101
92
102
// -------------------------------------------------- Seeds //
You can’t perform that action at this time.
0 commit comments