Skip to content

Commit

Permalink
fix parse error
Browse files Browse the repository at this point in the history
  • Loading branch information
sliterok committed Mar 9, 2024
1 parent d94739c commit e560c72
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build
run: pnpm run build --base /opfs-demo/
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
Expand Down
1 change: 1 addition & 0 deletions src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ import { IFetchDb } from './db/types'

export const dbFetch: IFetchDb = async (url, body) => {
const response = await fetch(url, { body: JSON.stringify(body), method: 'POST' })
if (response.status === 501) return
return response.json()
}
1 change: 0 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import rakkas from 'rakkasjs/vite-plugin'
import { VitePWA } from 'vite-plugin-pwa'

export default defineConfig({
base: '/opfs-demo/',
plugins: [
tsconfigPaths(),
react(),
Expand Down

0 comments on commit e560c72

Please sign in to comment.