Add sepiasearch as default search index
This commit is contained in:
parent
40ac4ce3da
commit
eb06d7dfc2
|
@ -478,16 +478,16 @@
|
||||||
>
|
>
|
||||||
<ng-container ngProjectAs="description">
|
<ng-container ngProjectAs="description">
|
||||||
<div i18n>⚠️ This functionality depends heavily on the moderation of instances followed by the search index you select.</div>
|
<div i18n>⚠️ This functionality depends heavily on the moderation of instances followed by the search index you select.</div>
|
||||||
|
|
||||||
<div i18n>
|
|
||||||
You should only use moderated search indexes in production, or <a class="link-primary" href="https://framagit.org/framasoft/peertube/search-index">host your own</a>.
|
|
||||||
</div>
|
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
<ng-container ngProjectAs="extra">
|
<ng-container ngProjectAs="extra">
|
||||||
<div [ngClass]="getDisabledSearchIndexClass()">
|
<div [ngClass]="getDisabledSearchIndexClass()">
|
||||||
<label i18n for="searchIndexUrl">Search index URL</label>
|
<label i18n for="searchIndexUrl">Search index URL</label>
|
||||||
|
|
||||||
|
<div i18n class="label-small-info">
|
||||||
|
Use your <a class="link-primary" target="_blank" href="https://framagit.org/framasoft/peertube/search-index">your own search index</a> or choose the official one, <a class="link-primary" target="_blank" href="https://sepiasearch.org">https://sepiasearch.org</a>, that is not moderated.
|
||||||
|
</div>
|
||||||
|
|
||||||
<input
|
<input
|
||||||
type="text" id="searchIndexUrl" class="form-control"
|
type="text" id="searchIndexUrl" class="form-control"
|
||||||
formControlName="url" [ngClass]="{ 'input-error': formErrors['search.searchIndex.url'] }"
|
formControlName="url" [ngClass]="{ 'input-error': formErrors['search.searchIndex.url'] }"
|
||||||
|
|
|
@ -1039,11 +1039,12 @@ search:
|
||||||
# instead of loading the video locally
|
# instead of loading the video locally
|
||||||
search_index:
|
search_index:
|
||||||
enabled: false
|
enabled: false
|
||||||
# URL of the search index, that should use the same search API and routes
|
# URL of the search index, which should use the same search API and routes
|
||||||
# than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html
|
# as PeerTube: https://docs.joinpeertube.org/api-rest-reference.html
|
||||||
# You should deploy your own with https://framagit.org/framasoft/peertube/search-index,
|
# You can deploy your own with https://framagit.org/framasoft/peertube/search-index,
|
||||||
# and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index
|
# or you can use the official one: https://sepiasearch.org.
|
||||||
url: ''
|
# But keep in mind it is an unmoderated search index
|
||||||
|
url: 'https://sepiasearch.org'
|
||||||
# You can disable local search in the client, so users only use the search index
|
# You can disable local search in the client, so users only use the search index
|
||||||
disable_local_search: false
|
disable_local_search: false
|
||||||
# If you did not disable local search in the client, you can decide to use the search index by default
|
# If you did not disable local search in the client, you can decide to use the search index by default
|
||||||
|
|
|
@ -1049,11 +1049,12 @@ search:
|
||||||
# instead of loading the video locally
|
# instead of loading the video locally
|
||||||
search_index:
|
search_index:
|
||||||
enabled: false
|
enabled: false
|
||||||
# URL of the search index, that should use the same search API and routes
|
# URL of the search index, which should use the same search API and routes
|
||||||
# than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html
|
# as PeerTube: https://docs.joinpeertube.org/api-rest-reference.html
|
||||||
# You should deploy your own with https://framagit.org/framasoft/peertube/search-index,
|
# You can deploy your own with https://framagit.org/framasoft/peertube/search-index,
|
||||||
# and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index
|
# or you can use the official one: https://sepiasearch.org.
|
||||||
url: ''
|
# But keep in mind it is an unmoderated search index
|
||||||
|
url: 'https://sepiasearch.org'
|
||||||
# You can disable local search in the client, so users only use the search index
|
# You can disable local search in the client, so users only use the search index
|
||||||
disable_local_search: false
|
disable_local_search: false
|
||||||
# If you did not disable local search in the client, you can decide to use the search index by default
|
# If you did not disable local search in the client, you can decide to use the search index by default
|
||||||
|
|
Loading…
Reference in New Issue