Skip to content

Commit

Permalink
Remove old .env files
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Jan 18, 2024
1 parent 6df35db commit c7f9fee
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 81 deletions.
67 changes: 0 additions & 67 deletions .env

This file was deleted.

5 changes: 0 additions & 5 deletions .env.production

This file was deleted.

5 changes: 0 additions & 5 deletions .env.staging

This file was deleted.

4 changes: 2 additions & 2 deletions src/api/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import axios from "axios";
import { Document, transformHighlights } from "@/structure/document.js";

import {
POLL_TIMEOUT,
POLL_INTERVAL,
GET_BATCH,
GET_BATCH_DELAY,
UPLOAD_BATCH,
Expand Down Expand Up @@ -254,7 +254,7 @@ export async function pollDocument(
}

// Retrigger after timeout
await timeout(POLL_TIMEOUT);
await timeout(POLL_INTERVAL);
pollDocument(id, docFn, doneFn, conditionFn);
}

Expand Down
3 changes: 1 addition & 2 deletions webpack.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ export default wrap({
filename: "assets/[name].[contenthash].css",
}),
new DotEnv({
path: prod ? `.env.${environment}` : ".env",
defaults: ".env",
path: ".env",
systemvars: true,
}),
new CircularDependencyPlugin({
Expand Down

0 comments on commit c7f9fee

Please sign in to comment.