File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @curatedotfun/rss" ,
3- "version" : " 0.0.8 " ,
3+ "version" : " 0.0.9 " ,
44 "description" : " RSS plugin for curatedotfun" ,
55 "main" : " ./dist/index.js" ,
66 "types" : " ./dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -115,13 +115,11 @@ export default class RssPlugin
115115 }
116116
117117 // 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)
119119 try {
120120 const url = new URL ( config . serviceUrl ) ;
121- // Enforce HTTPS
122- url . protocol = "https:" ;
123121 // Remove trailing slash from pathname if present
124- if ( url . pathname . endsWith ( "/" ) && url . pathname . length > 1 ) {
122+ if ( url . pathname . endsWith ( "/" ) ) {
125123 url . pathname = url . pathname . slice ( 0 , - 1 ) ;
126124 }
127125 this . serviceUrl = url . toString ( ) ;
You can’t perform that action at this time.
0 commit comments