Skip to content

Commit 9fcb795

Browse files
authored
Merge pull request #4 from neondatabase/rewrite
Rewrite
2 parents a996866 + 4bb3cc0 commit 9fcb795

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+2532
-12433
lines changed

.env.example

Lines changed: 0 additions & 4 deletions
This file was deleted.

.prettierrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"semi": true,
5+
"singleQuote": true,
6+
"printWidth": 100,
7+
"plugins": ["prettier-plugin-tailwindcss", "prettier-plugin-organize-imports"]
8+
}

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
# Postgres AI Playground
2-
3-
![Cover image](https://github.com/m-abdelwahab/postgres-ai-playground/assets/27310414/05e1939f-af0c-4c77-b2db-1b71b09f9199)
4-
1+
# README

bun.lockb

446 KB
Binary file not shown.

next.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
/** @type {import('next').NextConfig} */
2-
const nextConfig = {}
32

4-
module.exports = nextConfig
3+
const isProduction = process.env.NODE_ENV === 'production';
4+
5+
module.exports = {
6+
assetPrefix: isProduction ? process.env.NEXT_PUBLIC_REWRITE_PREFIX : undefined,
7+
basePath: isProduction ? process.env.NEXT_PUBLIC_REWRITE_PREFIX : undefined,
8+
};

0 commit comments

Comments
 (0)