@@ -124,7 +124,7 @@ private Url() {
124
124
}
125
125
126
126
public static Map <String , String > asMap (boolean serveContentFromSingleHost ) {
127
- // There is not all urls but only those which used on views
127
+ // Not all URLs are listed here but only those that are being used on views
128
128
Map <String , String > map = new HashMap <>();
129
129
map .put ("PUBLIC_URL" , PUBLIC_URL );
130
130
map .put ("AUTHENTICATION_PAGE" , AUTHENTICATION_PAGE );
@@ -166,7 +166,7 @@ public static Map<String, String> asMap(boolean serveContentFromSingleHost) {
166
166
map .put ("SERIES_ADD_JS" , SERIES_ADD_JS );
167
167
map .put ("COLLECTION_INFO_JS" , COLLECTION_INFO_JS );
168
168
} else {
169
- // Use separate domain for our own resources
169
+ // Use a separate domain for our own resources
170
170
map .put ("GET_IMAGE_PAGE" , STATIC_RESOURCES_URL + GET_IMAGE_PAGE );
171
171
map .put ("GET_IMAGE_PREVIEW_PAGE" , STATIC_RESOURCES_URL + GET_IMAGE_PREVIEW_PAGE );
172
172
map .put ("FAVICON_ICO" , STATIC_RESOURCES_URL + FAVICON_ICO );
@@ -175,7 +175,7 @@ public static Map<String, String> asMap(boolean serveContentFromSingleHost) {
175
175
map .put ("SERIES_ADD_JS" , STATIC_RESOURCES_URL + SERIES_ADD_JS );
176
176
map .put ("COLLECTION_INFO_JS" , STATIC_RESOURCES_URL + COLLECTION_INFO_JS );
177
177
178
- // Use CDN for external resources like frameworks
178
+ // Use CDN for the external resources like libraries
179
179
map .put ("BOOTSTRAP_CSS" , BOOTSTRAP_CSS_CDN );
180
180
map .put ("BOOTSTRAP_JS" , BOOTSTRAP_JS_CDN );
181
181
map .put ("JQUERY_JS" , JQUERY_JS_CDN );
0 commit comments