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' } = {}) {
2424
2525 // -------------------------------------------------- Routes //
2626 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+
2835
2936 // ------------------------- Client Side //
3037 this . get ( 'users' , ( schema ) => {
@@ -87,6 +94,9 @@ export function makeServer({ environment = 'development' } = {}) {
8794
8895 return response ;
8996 } ) ;
97+
98+ this . passthrough ( 'https://cdn.jsdelivr.net/gh/PrismJS/prism@1.29.0/*' ) ;
99+ this . passthrough ( 'https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.8.0/*' ) ;
90100 } ,
91101
92102 // -------------------------------------------------- Seeds //
You can’t perform that action at this time.
0 commit comments