Skip to content

Commit d9d4886

Browse files
authored
Merge pull request #25 from farooq13/base
bugFix
2 parents 5b0d5a8 + 3d54ab1 commit d9d4886

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

node/tailwind.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
module.exports = {
33
content: [
44
'../templates/**/*.html',
5-
'../**/templates/**/*.html',
5+
'../**/**/*.html',
66
],
77
theme: {
88
extend: {},

trendy/.env

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
ENVIROMENT=development
22
SECRET_KEY=django-insecure-^kf9lb-c&@uv3tj1+1#k21kmdg6jnh(-39-5&zmt139iwu1!p!
3-
DATABASE_URL=postgresql://trendify_postgresql_user:gYNHjtiyhU0Q6MGYWqWO7nGIr69bLffe@dpg-cunniohopnds73da9q4g-a.oregon-postgres.render.com/trendify_postgresql
3+
DATABASE_URL=postgresql://trendify_postgresql_user:gYNHjtiyhU0Q6MGYWqWO7nGIr69bLffe@dpg-cunniohopnds73da9q4g-a.oregon-postgres.render.com/trendify_postgresql
4+
5+
7 Bytes
Binary file not shown.

trendy/settings.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
# SECURITY WARNING: don't run with debug turned on in production!
2222

2323
if ENVIROMENT == 'development':
24-
DEBUG = True
24+
DEBUG = True
2525
else:
26-
DEBUG = False
26+
DEBUG = False
2727

28-
ALLOWED_HOSTS = []
28+
ALLOWED_HOSTS = ['*']
2929

3030

3131
# Application definition
@@ -120,7 +120,7 @@
120120
}
121121
}
122122

123-
POSTGRES_LOCALLY = False
123+
POSTGRES_LOCALLY = True
124124

125125
if ENVIROMENT == 'production' or POSTGRES_LOCALLY == True:
126126
DATABASES['default'] = dj_database_url.parse(env('DATABASE_URL'))

0 commit comments

Comments
 (0)