chore: update license

This commit is contained in:
Tristan Yang
2022-07-14 22:21:38 +08:00
parent ab9e1b9e54
commit c2797a132c
4 changed files with 725 additions and 705 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ export const serverApi = createApi({
}),
upsertLicense: builder.mutation<boolean, string>({
query: (license) => ({
url: "/license/save",
url: "/license",
method: "PUT",
body: { license }
})
+4 -1
View File
@@ -116,7 +116,10 @@ export default function License() {
</div>
<div className="item">
<span className="label">Domains</span>
<span className="info"> {licenseInfo?.domains.join(",")}</span>
<ul className="info"> {licenseInfo?.domains.map(d => {
return <li key={d}>{d}</li>;
})}</ul>
</div>
<div className="item">
<span className="label">User Limit</span>