![]() ![]() To get the URL for your database, run the following Turso CLI command, and copy the result: This should be kept a secret, and not committed to source code. LIBSQL_DB_AUTH_TOKEN - The authentication token for your Turos database.LIBSQL_DB_URL - The connection string for your Turso database.The Turso client library requires two pieces of information to make a connection: Configure your Worker for your Turso database You will not need to edit the other files, and they should be left as is. Only generated if indicated in wrangler init command.įor this tutorial, only the wrangler.toml and src/index.ts files are relevant. ![]()
0 Comments
Leave a Reply. |