Commit db01eac 1 parent 9d18157 commit db01eac Copy full SHA for db01eac
File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @curatedotfun/rss" ,
3
- "version" : " 0.0.8 " ,
3
+ "version" : " 0.0.9 " ,
4
4
"description" : " RSS plugin for curatedotfun" ,
5
5
"main" : " ./dist/index.js" ,
6
6
"types" : " ./dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -115,13 +115,11 @@ export default class RssPlugin
115
115
}
116
116
117
117
// Store only essential configuration
118
- // Parse and normalize the service URL (enforce HTTPS and remove trailing slash)
118
+ // Parse and normalize the service URL (remove trailing slash)
119
119
try {
120
120
const url = new URL ( config . serviceUrl ) ;
121
- // Enforce HTTPS
122
- url . protocol = "https:" ;
123
121
// Remove trailing slash from pathname if present
124
- if ( url . pathname . endsWith ( "/" ) && url . pathname . length > 1 ) {
122
+ if ( url . pathname . endsWith ( "/" ) ) {
125
123
url . pathname = url . pathname . slice ( 0 , - 1 ) ;
126
124
}
127
125
this . serviceUrl = url . toString ( ) ;
You can’t perform that action at this time.
0 commit comments