Skip to content

Commit

Permalink
Add config-set for frontend 404/403 redirect (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgading committed Feb 26, 2024
1 parent 9882b20 commit 3228d27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions commands/web/dkan-frontend-install
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ npm --loglevel=error install

drush pm-enable dkan_js_frontend -y
drush config-set system.site page.front '/home' -y
drush config-set system.site page.403 '/home' -y
drush config-set system.site page.404 '/home' -y

drush cr

echo " ** Frontend install complete."
2 changes: 1 addition & 1 deletion commands/web/dkan-site-install
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ drush role:create "administrator" "Administrator" -y
drush config-set user.role.administrator is_admin true -y
drush user:role:add "administrator" admin

# Enable Claro and Olivero themes.
# Enable Claro and Stark themes.
drush theme:enable claro stark
drush config-set system.theme admin claro -y
drush config-set system.theme default stark -y
Expand Down

0 comments on commit 3228d27

Please sign in to comment.