mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-28 21:49:40 +02:00
fix: update server URL in README and settings for SurfSense plugin
This commit is contained in:
parent
20ce687b6d
commit
1f524660e1
6 changed files with 26 additions and 6 deletions
|
|
@ -34,11 +34,11 @@ export class SurfSenseSettingTab extends PluginSettingTab {
|
|||
new Setting(containerEl)
|
||||
.setName("Server URL")
|
||||
.setDesc(
|
||||
"https://api.surfsense.com for SurfSense Cloud, or your self-hosted URL.",
|
||||
"https://surfsense.com for SurfSense Cloud, or your self-hosted URL.",
|
||||
)
|
||||
.addText((text) =>
|
||||
text
|
||||
.setPlaceholder("https://api.surfsense.com")
|
||||
.setPlaceholder("https://surfsense.com")
|
||||
.setValue(settings.serverUrl)
|
||||
.onChange(async (value) => {
|
||||
this.plugin.settings.serverUrl = value.trim();
|
||||
|
|
@ -189,7 +189,7 @@ export class SurfSenseSettingTab extends PluginSettingTab {
|
|||
new Setting(containerEl)
|
||||
.setName("Include attachments")
|
||||
.setDesc(
|
||||
"Sync non-Markdown files (images, PDFs, …). Off by default — Markdown only.",
|
||||
"Also sync non-Markdown files such as images and PDFs.",
|
||||
)
|
||||
.addToggle((toggle) =>
|
||||
toggle
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ export interface SurfsensePluginSettings {
|
|||
}
|
||||
|
||||
export const DEFAULT_SETTINGS: SurfsensePluginSettings = {
|
||||
serverUrl: "https://api.surfsense.com",
|
||||
serverUrl: "https://surfsense.com",
|
||||
apiToken: "",
|
||||
searchSpaceId: null,
|
||||
connectorId: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue