Skip to content

Commit

Permalink
Fixed: Servd config issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bymayo committed May 13, 2024
1 parent fdf89e0 commit 07662ed
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
21 changes: 11 additions & 10 deletions .env.example.dev
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# Application ID
CRAFT_APP_ID=

# Security Key
CRAFT_SECURITY_KEY=

# Environment
CRAFT_ENVIRONMENT=dev

Expand All @@ -17,27 +20,25 @@ CRAFT_DB_PASSWORD=
CRAFT_DB_SCHEMA=public
CRAFT_DB_TABLE_PREFIX=

# General
CRAFT_SECURITY_KEY=
CRAFT_DEV_MODE=
CRAFT_ALLOW_ADMIN_CHANGES=
CRAFT_DISALLOW_ROBOTS=

# Site
CRAFT_IS_SYSTEM_LIVE=
CRAFT_SITE_NAME=
CRAFT_SYSTEM_EMAIL=
CRAFT_TEST_TO_EMAIL_ADDRESS=
CRSFT_ALLOW_UPDATES=
# CRAFT_IS_SYSTEM_LIVE=
# CRAFT_DEV_MODE=
# CRAFT_ALLOW_ADMIN_CHANGES=
# CRAFT_ALLOW_UPDATES=
# CRAFT_DISALLOW_ROBOTS=

# Folders
PUBLIC_FOLDER="web"

# Servd
SERVD_PROJECT_SLUG=
SERVD_SECURITY_KEY=
SERVD_ASSETS_URL_PATTERN=
SERVD_TRANSFORMS_URL_PATTERN=
SERVD_ASSET_ENVIRONMENT=
# SERVD_ASSETS_URL_PATTERN=
# SERVD_TRANSFORMS_URL_PATTERN=

# Mailgun
# https://github.com/craftcms/mailgun/issues/26#issuecomment-1283895268
Expand Down
4 changes: 2 additions & 2 deletions config/servd-asset-storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
return [
'projectSlug' => App::env('SERVD_PROJECT_SLUG'),
'securityKey' => App::env('SERVD_SECURITY_KEY'),
'assetsEnvironment' => App::env('SERVD_ASSET_ENVIRONMENT') ?? 'staging',
'injectCors' => 1,
'clearCachesOnSave' => 'never',
'assetsEnvironment' => 'production'
'clearCachesOnSave' => 'never'
];

0 comments on commit 07662ed

Please sign in to comment.