Skip to content

Commit

Permalink
Limit to 50 platforms and 20 terms/category in development mode
Browse files Browse the repository at this point in the history
  • Loading branch information
arteymix committed Sep 7, 2023
1 parent 3f236c2 commit e71b7df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Browser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ import Error from "@/components/Error.vue";
import { mapMutations, mapState } from "vuex";

const MAX_URIS_IN_CLAUSE = 200;
const MAX_TERMS_PER_CATEGORY = 200;
const MAX_PLATFORMS = 200;
const MAX_TERMS_PER_CATEGORY = process.env.NODE_ENV !== "production" ? 20 : 200;;
const MAX_PLATFORMS = process.env.NODE_ENV !== "production" ? 50 : 200;

function quoteIfNecessary(s) {
if (s.match(/[(), "]/) || s.length === 0) {
Expand Down

0 comments on commit e71b7df

Please sign in to comment.