Skip to content

Commit 9153bb5

Browse files
committed
fix: #45.
1 parent 2cba5dc commit 9153bb5

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

.dockerignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,8 @@ tailwind.config.js
2727
public/styles/tailwind.css
2828

2929
# installer
30-
docker-install.sh
30+
docker-install.sh
31+
32+
# local, debug config files
33+
configuration/config.debug.json
34+
configuration/config.local.json

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ node_modules
1818

1919
# debug configuration
2020
configuration/config.debug.json
21+
configuration/config.local.json
2122

2223
# custom template used for tests
2324
custom-template.ejs

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Now as soon as you publish your Post, it will be sent to your Subscribers who ha
110110

111111
### Testing Configurations
112112

113-
Ghosler defaults to using a debug configuration file, `config.debug.json`, if it exists. The structure of this file is
113+
Ghosler defaults to using a local configuration file, `config.local.json`, if it exists. The structure of this file is
114114
identical to that in [config.production.json](./configuration/config.production.json) file.
115115

116116
**Local Builds:**

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ghosler",
33
"description": "Send newsletter emails to your members, using your own email credentials!",
4-
"version": "0.95",
4+
"version": "0.96",
55
"private": true,
66
"main": "app.js",
77
"type": "module",

utils/data/configs.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,7 @@ export default class ProjectConfigs {
290290
static async #getConfigFilePath() {
291291
const __dirname = path.dirname(fileURLToPath(import.meta.url));
292292

293-
// TODO: this change would require a migration via ghosler-cli.
294-
const debugConfigPath = path.resolve(__dirname, '../../configuration/config.debug.json');
293+
const debugConfigPath = path.resolve(__dirname, '../../configuration/config.local.json');
295294
const prodConfigPath = path.resolve(__dirname, '../../configuration/config.production.json');
296295

297296
try {

0 commit comments

Comments
 (0)