chore: update license
This commit is contained in:
@@ -209,7 +209,7 @@ export const serverApi = createApi({
|
||||
}),
|
||||
upsertLicense: builder.mutation<boolean, string>({
|
||||
query: (license) => ({
|
||||
url: "/license/save",
|
||||
url: "/license",
|
||||
method: "PUT",
|
||||
body: { license }
|
||||
})
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user