Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: call backand service getting api url from settings and fix parameter encoding #9

Open
wants to merge 1 commit into
base: v2.0.x
Choose a base branch
from

Conversation

luca-bellenghi
Copy link
Member

No description provided.

@@ -10,8 +10,8 @@ const RssBody = ({ data, isEditMode }) => {
let parser = new Parser();
setFeedItems([]);
if (data?.feed?.length > 0) {
let base_url = config.settings.apiPath;
parser.parseURL(base_url + '/@get_rss_feed?feed=' + data.feed, function (
let base_url = config.settings.devProxyToApiPath;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that I read this with more attention to details, I think devProxyToApiPath could be wrong here. It should only be used in development, it will not be there in production.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @pnicolli

@nzambello
Copy link
Contributor

LGTM to encode the URL but the url to api shouldn't be that

@luca-bellenghi luca-bellenghi force-pushed the us_22826_fix_rss branch 2 times, most recently from c6c8335 to 2300b00 Compare December 3, 2021 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants