Browse Source

add search-url slot is site-settings class (site-settings.lisp).

stable
Craig Oates 2 years ago
parent
commit
eeabb843ce
  1. 10
      src/models/site-settings.lisp

10
src/models/site-settings.lisp

@ -36,7 +36,15 @@
:col-type (or :text :null)
:initarg :home-page
:initform "home"
:accessor home-page-of))
:accessor home-page-of)
(search-url
:documentation "The URL for the Meilisearch instance this site calls out to
for it's search features."
:col-type (or :text :null)
:initarg :search-url
:initform "http://localhost:7700" ; Default Meilisearch URL.
:accessor search-url-of))
(:documentation "Model used to track the site-wide settings -- stored in the database.")
(:metaclass mito:dao-table-class))

Loading…
Cancel
Save