https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 63b7fd8a7539247f2648c138eee057162f7bfb24 authored by vinoth on 04 April 2018, 17:38:55 UTC
Cache control headers added to png image.
Tip revision: 63b7fd8
constants.js
//This file requires server-side substitutions and must be included as constants.js?pipe=sub

var PORT = "{{ports[ws][0]}}";
var PORT_SSL = "{{ports[wss][0]}}";

var SCHEME_DOMAIN_PORT;
if (location.search == '?wss') {
  SCHEME_DOMAIN_PORT = 'wss://{{host}}:' + PORT_SSL;
} else {
  SCHEME_DOMAIN_PORT = 'ws://{{host}}:' + PORT;
}
back to top