Skip to content

Commit ef1f173

Browse files
committed
use relative request path
1 parent ee0efb5 commit ef1f173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mirage/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ export const startMirage = ({ environment = 'development' } = {}) => {
399399
},
400400
]);
401401
this.get('api/v2/probes', () => []);
402-
this.post('/api/beta/matchExpressions', (_, request) => {
402+
this.post('api/beta/matchExpressions', (_, request) => {
403403
const attr = JSON.parse(request.requestBody);
404404
if (!attr.matchExpression || !attr.targets) {
405405
return new Response(400);

0 commit comments

Comments
 (0)