0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/shared
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
..
config Fixed detection of Windows environment when connecting to SQLite temp DB 2022-05-30 17:42:34 -04:00
settings-cache Extended public settings to include portal settings (#14801) 2022-05-12 19:54:45 +05:30
custom-theme-settings-cache.js
express.js Fixed typo 2021-12-06 21:28:53 +13:00
html-to-plaintext.js Fixed minor weirdnesses with excerpts 2022-05-24 12:35:59 +01:00
labs.js Removed GA feature flags (#14915) 2022-05-26 09:54:30 +02:00
sentry.js
url-utils.js Update dependency @tryghost/url-utils to v3 (#14705) 2022-05-05 16:10:18 +01:00