Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.

Commit ada3511

Browse files
bsittlertangiel
authored andcommitted
Update proxy.html
- <!DOCTYPE ...> declaration must be upper-case for HTML 5/MSIE compatibility - add <meta http-equiv="X-UA-Compatible" ...> for MSIE compatibility to avoid mode skew with parent frames/pages - switch to googleapis.server.init as that knows how to enforce /_ah/api and other similar path restrictions provided there's a /static/proxy.html suffix, and fails safe otherwise - remove unused lcsclient
1 parent efe63f3 commit ada3511

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • endpoints-framework/src/main/resources/com/google/api/server/spi/handlers

endpoints-framework/src/main/resources/com/google/api/server/spi/handlers/proxy.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title></title>
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
16
<!--
27
Copyright 2016 Google Inc. All Rights Reserved.
38
@@ -13,19 +18,14 @@
1318
See the License for the specific language governing permissions and
1419
limitations under the License.
1520
-->
16-
<!doctype html>
17-
<html>
18-
<head>
19-
<title></title>
2021
<script type="text/javascript">
2122
window['startup'] = function() {
22-
googleapis.server.initWithPath('/_ah/api');
23+
googleapis.server.init();
2324
};
2425
</script>
2526
<script type="text/javascript"
2627
src="https://apis.google.com/js/googleapis.proxy.js?onload=startup" async defer></script>
2728
</head>
2829
<body>
29-
<div id="lcsclient" style="position: absolute; left: -10000px;"></div>
3030
</body>
3131
</html>

0 commit comments

Comments
 (0)