mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Remove unused lines
This commit is contained in:
parent
d66e27db2e
commit
21c7b84747
1 changed files with 1 additions and 2 deletions
|
|
@ -1,11 +1,10 @@
|
|||
import path from 'node:path'
|
||||
import fs from 'fs/promises'
|
||||
|
||||
import { rest } from 'msw'
|
||||
|
||||
export const handlers = [
|
||||
rest.get('https://mock.msw/*', async (req, res, ctx) => {
|
||||
const { endpoint } = req.params;
|
||||
// const { endpoint } = req.params;
|
||||
const urlPath = req.url.pathname
|
||||
|
||||
const fileContent = await fs.readFile( `./static/${urlPath}`, 'utf8')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue