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 http.Replace() and use it for file servers #2856

Merged
merged 3 commits into from
May 31, 2021

Conversation

tchssk
Copy link
Member

@tchssk tchssk commented May 25, 2021

This is a fix of #2839.

I'm glad if you release v3.4.3 after merging this. Thank you.

@tchssk tchssk marked this pull request as ready for review May 25, 2021 15:07
@tchssk tchssk added the v3 label May 25, 2021
@raphael
Copy link
Member

raphael commented May 26, 2021

Thank you for the fix, I will release v3.4.3 once it is merged. I just have one question: would it make sense to refactor Replace and ReplacePrefix into a single function with an additional argument to differentiate between the two cases or does that end up being too complicated?

@tchssk tchssk force-pushed the v3-http-file-server-replace branch from b87eed9 to c402686 Compare May 31, 2021 02:15
@tchssk
Copy link
Member Author

tchssk commented May 31, 2021

I integrated ReplacePrefix into Replace. An additional commit is a fix for http.FileServer.

@raphael
Copy link
Member

raphael commented May 31, 2021

This is great thank you!

@raphael raphael merged commit 76d9c1d into goadesign:v3 May 31, 2021
@tchssk tchssk deleted the v3-http-file-server-replace branch June 1, 2021 06:51
@tchssk
Copy link
Member Author

tchssk commented Jun 2, 2021

@raphael

Would you release v3.4.3? Thank you!

@raphael
Copy link
Member

raphael commented Jun 2, 2021

Yes I will as soon as #2858 is merged.

@raphael
Copy link
Member

raphael commented Jun 3, 2021

I just released v3.4.3 as it's going to take a bit more time to finalize #2858.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants