Changeset 37411
- Timestamp:
- 2023-03-05T21:54:50+13:00 (2 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/WEB-INF/servlets.xml
r36987 r37411 57 57 </init-param> 58 58 <!-- if you want to use a non standard greenstone cookie path (by default it will use greenstone.context in build.properties), then set the value of it here. If you are mapping to an address without this part (eg my-site.org/library) then cookie path will be / --> 59 <!--59 <!-- 60 60 <init-param> 61 61 <param-name>cookie_path</param-name> 62 62 <param-value>/greenstone3</param-value> 63 63 </init-param> 64 --> 64 --> 65 66 <!-- ***** --> 67 <!-- Google related keys and id credentials --> 68 <!-- ***** --> 69 65 70 <!-- 66 71 <init-param> … … 69 74 </init-param> 70 75 --> 76 71 77 <!-- For Google Authenticated Signin, need to specify the client-id (*not* the secret one) 72 78 <init-param> … … 74 80 <param-value>?????.....?????.apps.googleusercontent.com</param-value> 75 81 </init-param> 76 --> 82 --> 83 84 <!-- For details on how to set up a Google API key to use with Google Maps, see: 85 https://developers.google.com/maps/documentation/javascript/get-api-key 86 --> 87 <!-- TLDR: 88 1. On the Credentials page, create an API key (copy the displayed value) 89 2. Then restrict it to your website 90 3. Further restrict calls to just Google Maps API 91 4. Give the key a name you will remember 92 5. Press Save 93 6. Paste the key into the <param-value> below 94 --> 95 <!-- 96 <init-param> 97 <param-name>googlemaps_api_key</param-name> 98 <param-value>?????.....?????</param-value> 99 </init-param> 100 --> 77 101 </servlet> 78 102
Note:
See TracChangeset
for help on using the changeset viewer.