summaryrefslogtreecommitdiff
path: root/src/util/consts.ts
diff options
context:
space:
mode:
authorFushihara <1039534+fushihara@users.noreply.github.com>2024-09-25 22:12:43 +0900
committerFushihara <1039534+fushihara@users.noreply.github.com>2024-09-25 22:12:43 +0900
commit4ee67d66be5f83db09b66fb61dcbeb2739d633e0 (patch)
tree852e30c3d4dacc27f16682dab2523c267961c9b8 /src/util/consts.ts
parent2b30ba0c4890c2a616c4b4cc8b0b3bc1bb9b3325 (diff)
記事をタグで絞り込んだページもページング対応した
Diffstat (limited to 'src/util/consts.ts')
-rw-r--r--src/util/consts.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/consts.ts b/src/util/consts.ts
new file mode 100644
index 0000000..5dc77ba
--- /dev/null
+++ b/src/util/consts.ts
@@ -0,0 +1,4 @@
+export const PPV = Number(process.env["AKIBA_SOUKEN_AR_ITEM_PPV"] ?? "100");
+if (!Number.isInteger(PPV)) {
+ throw new Error(`AKIBA_SOUKEN_AR_ITEM_PPVに整数をセットして下さい`);
+}