0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/shared/config
Daniel Lockyer 82a60ae155 Fixed detection of Windows environment when connecting to SQLite temp DB
fixes https://github.com/TryGhost/Toolbox/issues/284

- this section of code rewrites `/tmp` in the SQlite filename to the
  temp dir
- the fix was only intended for Windows environments, because they
  typically don't have a `/tmp` dir
- this commit adds a `process.platform` check for Windows
- it also moves the code into the DB connection file instead of the
  config lib
2022-05-30 17:42:34 -04:00
..
env Added test-specific default-settings.json configuration 2022-02-21 20:06:20 +13:00
defaults.json Updated portal to use new tiers api structure 2022-05-17 12:23:40 +05:30
helpers.js 🐛 Fixed perms error when building public assets 2021-11-19 11:36:45 +00:00
index.js
loader.js
overrides.json 🎨 Reduced favicon requirements and added image formatting (#14918) 2022-05-27 16:36:53 +02:00
utils.js Fixed detection of Windows environment when connecting to SQLite temp DB 2022-05-30 17:42:34 -04:00