Ver Fonte

updated to globally load-balanced data provider urls

Alexander Rose há 5 anos atrás
pai
commit
ed4921edd1
1 ficheiros alterados com 2 adições e 5 exclusões
  1. 2 5
      src/structure-viewer/index.ts

+ 2 - 5
src/structure-viewer/index.ts

@@ -26,14 +26,11 @@ import { VolumeData } from './helpers/volume';
 require('./skin/rcsb.scss')
 
 export const DefaultStructureViewerProps: StructureViewerProps = {
-    // volumeServerUrl: 'https://ds.litemol.org/',
-    volumeServerUrl: '//alpha-maps.rcsb.org/',
+    volumeServerUrl: '//maps.rcsb.org/',
     modelUrlProvider: (pdbId: string) => {
         const id = pdbId.toLowerCase()
         return {
-            // url: `https://files.rcsb.org/download/${id}.cif`,
-            // format: 'cif' as SupportedFormats
-            url: `//alpha-models.rcsb.org/${id}.bcif`,
+            url: `//models.rcsb.org/${id}.bcif`,
             format: 'bcif' as SupportedFormats
         }
     },