Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

Commit

Permalink
fix(settings): site id is no longer restricted to 17 chars
Browse files Browse the repository at this point in the history
  • Loading branch information
luisherranz committed Dec 19, 2018
1 parent 53fd3f0 commit 7a6e70f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"title": "Advanced Settings",
"fieldSiteId": {
"label": "Site ID",
"placeholder": "ID of 17 characters"
"placeholder": "ID of your site"
},
"fieldSsrServer": {
"label": "SSR Server",
Expand Down
2 changes: 1 addition & 1 deletion admin/models/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default types
const { settings } = getParent(self, 1);

self.setSiteIdStatus(
isLength(settings.site_id, { min: 17, max: 17 }) ? "valid" : "invalid"
isLength(settings.site_id, { min: 1 }) ? "valid" : "invalid"
);
self.setSsrServerStatus(isURL(settings.ssr_server) ? "valid" : "invalid");
self.setStaticServerStatus(
Expand Down

0 comments on commit 7a6e70f

Please sign in to comment.