Skip to content

Commit

Permalink
symlink public/data/ -> data/
Browse files Browse the repository at this point in the history
  • Loading branch information
encounter committed Dec 25, 2024
1 parent dbf0247 commit 0793c58
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,9 @@ rust/target/
.pnpm-debug.log
.cache/

data/
data/*
!data/.gitkeep
dist/
public/data/*
!public/data/.gitkeep

# wasm-pack not working correctly
pkg/index.js
File renamed without changes.
1 change: 1 addition & 0 deletions public/data
2 changes: 1 addition & 1 deletion src/DataFetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class DataFetcherRequest {
public async start() {
this.started = true;

if (this.cache !== null) {
if (!IS_DEVELOPMENT && this.cache !== null) {
const match = await this.cache.match(this.request);
if (match !== undefined) {
const arrayBuffer = await match.arrayBuffer();
Expand Down

0 comments on commit 0793c58

Please sign in to comment.