Skip to content

Conversation

eball
Copy link
Contributor

@eball eball commented May 29, 2025

change api terminus-info to olares-info, and the response also be changed.

before

type TerminusInfo struct {
	TerminusName    string                 `json:"terminusName"`
	WizardStatus    constants.WizardStatus `json:"wizardStatus"`
	Selfhosted      bool                   `json:"selfhosted"`
	TailScaleEnable bool                   `json:"tailScaleEnable"`
	OsVersion       string                 `json:"osVersion"`
	LoginBackground string                 `json:"loginBackground"`
	Avatar          string                 `json:"avatar"`
	TerminusID      string                 `json:"terminusId"`
	UserDID         string                 `json:"did"`
	ReverseProxy    string                 `json:"reverseProxy"`
	Terminusd       string                 `json:"terminusd"`
}

after

type OlaresInfo struct {
	OlaresName      string                 `json:"olaresName"`
	WizardStatus    constants.WizardStatus `json:"wizardStatus"`
	Selfhosted      bool                   `json:"selfhosted"`
	TailScaleEnable bool                   `json:"tailScaleEnable"`
	OsVersion       string                 `json:"osVersion"`
	LoginBackground string                 `json:"loginBackground"`
	Avatar          string                 `json:"avatar"`
	OlaresID        string                 `json:"olaresId"`
	UserDID         string                 `json:"did"`
	ReverseProxy    string                 `json:"reverseProxy"`
	Olaresd         string                 `json:"olaresd"`
}

@eball eball merged commit 499eb01 into main May 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants