We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77d0d8a commit 3b2d7f7Copy full SHA for 3b2d7f7
1 file changed
src/pages/coc/config.js
@@ -12,4 +12,12 @@ export const API_CONFIG = {
12
// Helper function to format endpoints with clan tag
13
export const getEndpoint = (endpoint) => {
14
return `${API_CONFIG.BASE_URL}${endpoint.replace('{tag}', API_CONFIG.CLAN_TAG)}`;
15
-};
+};
16
+
17
+// Default export for the configuration
18
+const config = {
19
+ API_CONFIG,
20
+ getEndpoint
21
22
23
+export default config;
0 commit comments