diff --git a/api/src/config/config.ts b/api/src/config/config.ts
index 34264272..57d92736 100644
--- a/api/src/config/config.ts
+++ b/api/src/config/config.ts
@@ -14,7 +14,7 @@ export default (): Config => {
},
ol: {
- provider: 'https://rpc.0l.fyi',
+ provider: ENV.RPC_PROVIDER_URL!,
dataApiHost: ENV.DATA_API_HOST!,
validatorHandlesUrl: ENV.VALIDATOR_HANDLES_URL || undefined,
communityWalletsUrl: ENV.COMMUNITY_WALLETS_URL || undefined,
diff --git a/web-app/index.html b/web-app/index.html
index 5b047ac6..32c1c995 100644
--- a/web-app/index.html
+++ b/web-app/index.html
@@ -18,8 +18,8 @@
-
-
+
+
diff --git a/web-app/src/config.ts b/web-app/src/config.ts
index d9298982..6e2914a3 100644
--- a/web-app/src/config.ts
+++ b/web-app/src/config.ts
@@ -11,12 +11,13 @@ const localhost = {
dataApiHost: DATA_API_HOST,
};
+// TODO: make these URLs configurable
const configMap = new Map([
[
- '0l.fyi',
+ 'scan.openlibra.world',
{
- apiHost: 'https://api.0l.fyi',
- dataApiHost: 'https://data.0l.fyi',
+ apiHost: 'https://api.scan.openlibra.world',
+ dataApiHost: 'https://data.scan.openlibra.world',
},
],
[
@@ -36,4 +37,4 @@ const configMap = new Map([
],
]);
-export const config = configMap.get(window.location.hostname) ?? configMap.get('0l.fyi')!;
+export const config = configMap.get(window.location.hostname) ?? configMap.get('scan.openlibra.world')!;
diff --git a/web-app/src/modules/aptos/Provider.tsx b/web-app/src/modules/aptos/Provider.tsx
index ec8a1fee..19965093 100644
--- a/web-app/src/modules/aptos/Provider.tsx
+++ b/web-app/src/modules/aptos/Provider.tsx
@@ -4,7 +4,7 @@ import aptosContext from './context';
const AptosProvider: FC = ({ children }) => {
const client = useMemo(() => {
- return new AptosClient('https://rpc.0l.fyi');
+ return new AptosClient('https://rpc.scan.openlibra.world');
}, []);
return {children};