Skip to content

Commit

Permalink
actions test
Browse files Browse the repository at this point in the history
  • Loading branch information
dietrichmax committed Jan 30, 2024
1 parent dfca8e6 commit 1a55673
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ export async function getStaticProps() {
const client = new Client({
connectionString: process.env.DATABASE_URL,
})
await client.connect()
console.log()
await client.connect(process.env.DATABASE_URL)
const recentLocation = await client.query(
"SELECT lat, lon FROM locations ORDER BY id DESC LIMIT 1;"
)
Expand Down

0 comments on commit 1a55673

Please sign in to comment.