Photon plugin for construct works until I export it to my html website where it crashes and doesen't

in JavaScript
I also tried running it on Xampp this did not work either
Error Message (using chrome):
c2runtime.js:315 Uncaught TypeError: Cannot read property 'ConnectionProtocol' of undefined
at m.Aa.t.aa (c2runtime.js:315)
at e.lg (c2runtime.js:121)
at XMLHttpRequest.Xf.b.onload (c2runtime.js:89)
--------------------------------------------------------------------------------------------------------------------------------------------
Website:
https://gravcore.co.uk/Gravland/
Error Message (using chrome):
c2runtime.js:315 Uncaught TypeError: Cannot read property 'ConnectionProtocol' of undefined
at m.Aa.t.aa (c2runtime.js:315)
at e.lg (c2runtime.js:121)
at XMLHttpRequest.Xf.b.onload (c2runtime.js:89)
--------------------------------------------------------------------------------------------------------------------------------------------
Website:
https://gravcore.co.uk/Gravland/
0
Comments
Which Construct editor version and Photon SDK version do you use? Do you minify during export? Does it fail on projects for Photon SDK? If not, can you provide simple project which reproduces the issue?
. I did minify during export and I can send the capx with the simple project https://mega.nz/#!q5dC0AIA!VtpIcOybUnCEq1XLgU1Kn256kR0bU0A8o85XUHzJRD0