-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
25 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
CRYPTION_C1=<custom number like 1234> | ||
CRYPTION_C2=<custom number like 5678> | ||
KV_DRIVER=<vercelKV|redis|cloudflareKVHTTP> | ||
KV_REST_API_URL= | ||
KV_REST_API_TOKEN= | ||
KV_REST_API_URL=<get from vercel> | ||
KV_REST_API_TOKEN=<get from vercel> | ||
REDIS_URL=<redis://user:password@host:port> | ||
CF_ACCOUNT_ID= | ||
CF_NAMESPACE_ID= | ||
CF_API_TOKEN= | ||
CF_ACCOUNT_ID=<get from cloudflare> | ||
CF_NAMESPACE_ID=<get from cloudflare> | ||
CF_API_TOKEN=<get from cloudflare> | ||
GITHUB_REPO_DISPATCH_URL=<https://api.github.com/repos/OWNER/REPO/dispatches> | ||
GITHUB_TOKEN= | ||
GITHUB_TOKEN=<get from github> | ||
STARGRAM_ID=<generate from ./scripts/generateStargramID.js> | ||
VAPID_PUBLIC_KEY= | ||
VAPID_PRIVATE_KEY= | ||
VAPID_PUBLIC_KEY=<get from firebase> | ||
VAPID_PRIVATE_KEY=<get from firebase> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
/* eslint-disable node/prefer-global/process */ | ||
import { Cryption } from '@stargram/core/utils' | ||
|
||
export const appName = 'Stargram' | ||
export const appDescription = 'Manage all your Starred Pages' | ||
export const DEFAULT_OG_IMAGE = 'https://kiafhufrshqyrvlpsdqg.supabase.co/storage/v1/object/public/pics-bed/stargram.png?v=stargramogimage' | ||
export const DEFAULT_STARGRAM_HUB = 'https://stargram.cc' | ||
export const C1 = 26739 | ||
export const C2 = 59874 | ||
export const C1 = Number.parseInt(process.env.CRYPTION_C1 || '1234') | ||
export const C2 = Number.parseInt(process.env.CRYPTION_C2 || '1234') | ||
export const cryption = new Cryption(C1, C2) |