Terrain loading problem

I use the Cesium terrain for my app and never had an issue with it but when trying to load it today I had these errors in my console.

XMLHttpRequest cannot load http://cesium.agi.com/smallterrain/layer.json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access.
Cesium.js:94245 An error occurred in "CesiumTerrainProvider": An error occurred while accessing http://cesium.agi.com/smallterrain/layer.json.

Does anyone know how to fix this? And where to do this?

Thanks

Hi,

You’re using a very old URL. You can find the correct one on this page:
http://cesiumjs.org/data-and-assets/terrain/small-terrain.html

You may also want to consider using STK World Terrain, which is much higher quality:
http://cesiumjs.org/data-and-assets/terrain/stk-world-terrain.html

Kevin