Skip to content

Commit

Permalink
rsbuild config fix
Browse files Browse the repository at this point in the history
  • Loading branch information
magcius committed Jan 1, 2025
1 parent 9bdfeb6 commit 4f27e46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ try {
}

export default defineConfig({
server: {
htmlFallback: false,
},
source: {
entry: {
index: './src/main.ts',
Expand Down
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 (!IS_DEVELOPMENT && this.cache !== null) {
if (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 4f27e46

Please sign in to comment.