Skip to content

Commit

Permalink
use relative request path
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Dec 8, 2023
1 parent ee0efb5 commit ef1f173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mirage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ export const startMirage = ({ environment = 'development' } = {}) => {
},
]);
this.get('api/v2/probes', () => []);
this.post('/api/beta/matchExpressions', (_, request) => {
this.post('api/beta/matchExpressions', (_, request) => {
const attr = JSON.parse(request.requestBody);
if (!attr.matchExpression || !attr.targets) {
return new Response(400);
Expand Down

0 comments on commit ef1f173

Please sign in to comment.