Skip to content

Commit

Permalink
remove msw dep
Browse files Browse the repository at this point in the history
  • Loading branch information
dwightjack committed Aug 2, 2021
1 parent 5d05e8c commit 976975b
Show file tree
Hide file tree
Showing 6 changed files with 44,122 additions and 5,100 deletions.
5 changes: 4 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
[[redirects]]
from = "/api/*"
to = "/.netlify/functions/:splat"
status = 200
status = 200
[dev]
autoLaunch = false
command = "npm run dev:vite"
4 changes: 0 additions & 4 deletions netlify_functions/.eslintrc.json

This file was deleted.

6 changes: 2 additions & 4 deletions netlify_functions/tzlist.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { getTimeZones } from '@vvo/tzdb';
const { getTimeZones } = require('@vvo/tzdb');

const handler = async () => {
exports.handler = async () => {
return {
statusCode: 200,
body: JSON.stringify({ zones: getTimeZones() }),
};
};

export { handler };
Loading

0 comments on commit 976975b

Please sign in to comment.