import { getSiteUrl } from './vulcan-lib/utils';

export const rssTermsToUrl = (terms) => {
  const siteUrl = getSiteUrl();
  const terms_as_GET_params = Object.keys(terms).map((k) => encodeURIComponent(k) + '=' + encodeURIComponent(terms[k])).join('&')
  return siteUrl+"feed.xml?"+terms_as_GET_params;
}

import { siteUrlSetting } from './instanceSettings';

export const rssTermsToUrl = (terms) => {
  const siteUrl = siteUrlSetting.get();
  const terms_as_GET_params = Object.keys(terms).map((k) => encodeURIComponent(k) + '=' + encodeURIComponent(terms[k])).join('&')
  return siteUrl+"feed.xml?"+terms_as_GET_params;
}

--- 
+++ 
@@ -1,7 +1,7 @@
-import { siteUrlSetting } from './instanceSettings';
+import { getSiteUrl } from './vulcan-lib/utils';
 
 export const rssTermsToUrl = (terms) => {
-  const siteUrl = siteUrlSetting.get();
+  const siteUrl = getSiteUrl();
   const terms_as_GET_params = Object.keys(terms).map((k) => encodeURIComponent(k) + '=' + encodeURIComponent(terms[k])).join('&')
   return siteUrl+"feed.xml?"+terms_as_GET_params;
 }
Fix a broken RSS link (missing slash)
