Skip to content

Commit

Permalink
Merge pull request #4 from cindywu/hide-license-key
Browse files Browse the repository at this point in the history
hide license key
  • Loading branch information
cindywu authored Oct 18, 2022
2 parents 46af0bc + 190d26d commit 6838c55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Get a Replicache License Key: https://doc.replicache.dev/licensing
NEXT_PUBLIC_REPLICACHE_LICENSE_KEY=
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default function Home() {
(async () => {
const rep = new Replicache({
name: 'chat-user-id',
licenseKey: 'l077f51b26f854f218b25a96e2e29b9eb',
licenseKey: process.env.NEXT_PUBLIC_REPLICACHE_LICENSE_KEY,
pushURL: '/api/replicache-push',
pullURL: '/api/replicache-pull',
mutators: {
Expand Down

0 comments on commit 6838c55

Please sign in to comment.