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

Add content GET filter #7

Closed
wants to merge 1 commit into from
Closed

Conversation

eSKape-debug
Copy link

Proposed Changes

Ability to download and play Tonie content

Related Issues

Unable to download or change Tonie content

@@ -29,6 +29,7 @@ server {
sub_filter '.concat("/web",' '.concat("$http_x_ingress_path/web",';
sub_filter 'apiGetTeddyCloudApiRaw("/api/' 'apiGetTeddyCloudApiRaw("$http_x_ingress_path/api/';
sub_filter 'apiGetTeddyCloudApiRaw(`/api/' 'apiGetTeddyCloudApiRaw(`$http_x_ingress_path/api/';
Copy link
Author

Choose a reason for hiding this comment

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

is there an actual need for duplicated filters?

Copy link
Owner

Choose a reason for hiding this comment

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

they are not duplicate, just different strings `` vs ""

@@ -29,6 +29,7 @@ server {
sub_filter '.concat("/web",' '.concat("$http_x_ingress_path/web",';
sub_filter 'apiGetTeddyCloudApiRaw("/api/' 'apiGetTeddyCloudApiRaw("$http_x_ingress_path/api/';
sub_filter 'apiGetTeddyCloudApiRaw(`/api/' 'apiGetTeddyCloudApiRaw(`$http_x_ingress_path/api/';
sub_filter 'apiGetTeddyCloudApiRaw(`/content/' 'apiGetTeddyCloudApiRaw(`$http_x_ingress_path/content/';
Copy link
Owner

Choose a reason for hiding this comment

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

I did not find the /content/ in the minimized js, are you sure it's in there?
I believe the content is pulled out of the json for each tonie that the API presents.

Copy link
Author

@eSKape-debug eSKape-debug Nov 18, 2024

Choose a reason for hiding this comment

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

@github-actions github-actions bot locked and limited conversation to collaborators Nov 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants