Skip to content

Commit fd56fac

Browse files
committed
fix: add custom access token script to env sample
1 parent 260f533 commit fd56fac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.env.sample

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
DATABASE_URL=data.db
2-
DATABASE_TYPE=sqlite
2+
DATABASE_TYPE=sqlite
3+
CUSTOM_ACCESS_TOKEN_SCRIPT="function(user,tokenPayload){var data = tokenPayload;data.extra = {'x-extra-id': user.id};return data;}"

0 commit comments

Comments
 (0)