Cesium can not display the terrain?

Hi, I encountered a problem, I generated the terrain through cesium terrain builder, layer.json was created, everything is fine, then I deployed the cesium terrain server, written in go, in my react application I created a CesiumTerrainProvider, indicated the url of my server, placed the provider in the globe. terrainProvider, my cesium makes a request to the server, the server returns everything, layer.json and all the terrain files, but the terrain is not displayed.
This is my provider.
let providerT = new Cesium.CesiumTerrainProvider({
url: new Cesium.Resource({
url: url,
headers: {
“Accept”: “application/vnd.quantized-mesh,application/octet-stream;q=0.9”,
“Accept-Encoding”: “gzip”
requestVertexNormals: false,
requestWaterMask: false,

Hi there,

There is an updated API for terrain providers as of 1.107. You’ll need to use CesiumTerrainProvider.fromUrl.