@@ -75,39 +75,39 @@ const fastify = createServer({
7575 {
7676 module : at ( 'notifications/plugin.js' ) ,
7777 prefix : '/.notifications' ,
78- config : { podsRoot : PODS , baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } ,
78+ config : { podsRoot : PODS , baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } ,
7979 } ,
8080 { module : at ( 'pay/plugin.js' ) , prefix : '/paid' , config : { cost : 1 , address : 'demo' } } ,
8181 { module : at ( 'nip05/plugin.js' ) , prefix : '/nip05' , config : { podsRoot : PODS , relayUrl : `${ PUBLIC_URL . replace ( / ^ h t t p / , 'ws' ) } /relay` } } ,
8282 { module : at ( 'corsproxy/plugin.js' ) , prefix : '/proxy' , config : { } } ,
8383 { module : at ( 'capability/plugin.js' ) , prefix : '/cap' , config : { } } ,
84- { module : at ( 'webdav/plugin.js' ) , prefix : '/webdav' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } } ,
84+ { module : at ( 'webdav/plugin.js' ) , prefix : '/webdav' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } } ,
8585 { module : at ( 'gitscratch/plugin.js' ) , prefix : '/git' , config : { } } ,
86- { module : at ( 'sparql/plugin.js' ) , prefix : '/sparql' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } } ,
86+ { module : at ( 'sparql/plugin.js' ) , prefix : '/sparql' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } } ,
8787 { module : at ( 'otp/plugin.js' ) , prefix : '/otp' , config : { } } ,
88- { module : at ( 'carddav/plugin.js' ) , prefix : '/carddav' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } } ,
89- { module : at ( 'mastodon/plugin.js' ) , prefix : '/mastodon' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } } ,
90- { module : at ( 'bluesky/plugin.js' ) , prefix : '/bluesky' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } } ,
91- { module : at ( 'caldav/plugin.js' ) , prefix : '/caldav' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } } ,
88+ { module : at ( 'carddav/plugin.js' ) , prefix : '/carddav' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } } ,
89+ { module : at ( 'mastodon/plugin.js' ) , prefix : '/mastodon' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } } ,
90+ { module : at ( 'bluesky/plugin.js' ) , prefix : '/bluesky' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } } ,
91+ { module : at ( 'caldav/plugin.js' ) , prefix : '/caldav' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } } ,
9292 { module : at ( 'webfinger/plugin.js' ) , prefix : '/webfinger' , config : { podsRoot : PODS , baseUrl : PUBLIC_URL } } ,
93- { module : at ( 'activitypub/plugin.js' ) , prefix : '/activitypub' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } } ,
94- { module : at ( 'rss/plugin.js' ) , prefix : '/feed' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } } ,
95- { module : at ( 'matrix/plugin.js' ) , prefix : '/matrix' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } } ,
96- { module : at ( 'search/plugin.js' ) , prefix : '/search' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } } ,
93+ { module : at ( 'activitypub/plugin.js' ) , prefix : '/activitypub' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } } ,
94+ { module : at ( 'rss/plugin.js' ) , prefix : '/feed' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } } ,
95+ { module : at ( 'matrix/plugin.js' ) , prefix : '/matrix' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } } ,
96+ { module : at ( 'search/plugin.js' ) , prefix : '/search' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } } ,
9797 { module : at ( 'didweb/plugin.js' ) , prefix : '/didweb' , config : { podsRoot : PODS , baseUrl : PUBLIC_URL } } ,
98- { module : at ( 's3/plugin.js' ) , prefix : '/s3' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } } ,
99- { module : at ( 'micropub/plugin.js' ) , prefix : '/micropub' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } } ,
100- { module : at ( 'backup/plugin.js' ) , prefix : '/backup' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } } ,
98+ { module : at ( 's3/plugin.js' ) , prefix : '/s3' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } } ,
99+ { module : at ( 'micropub/plugin.js' ) , prefix : '/micropub' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } } ,
100+ { module : at ( 'backup/plugin.js' ) , prefix : '/backup' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } } ,
101101 { module : at ( 'shortlink/plugin.js' ) , prefix : '/short' , config : { baseUrl : PUBLIC_URL } } ,
102- { module : at ( 'oembed/plugin.js' ) , prefix : '/oembed' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } } ,
103- { module : at ( 'jmap/plugin.js' ) , prefix : '/jmap' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` } } ,
102+ { module : at ( 'oembed/plugin.js' ) , prefix : '/oembed' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } } ,
103+ { module : at ( 'jmap/plugin.js' ) , prefix : '/jmap' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` } } ,
104104 // Zero config on purpose — gallery/ needs none (api.serverInfo origin,
105105 // container defaults to the caller's own pod).
106106 { module : at ( 'gallery/plugin.js' ) , prefix : '/gallery' } ,
107107 // webfinger/ above owns /.well-known/webfinger — the witnessed collision
108108 // (remotestorage/README.md) — so remotestorage stands down here.
109- { module : at ( 'remotestorage/plugin.js' ) , prefix : '/remotestorage' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://127.0.0.1 :${ PORT } ` , claimWellKnown : false } } ,
110- { module : at ( 'metrics/plugin.js' ) , prefix : '/metrics' , config : { loopbackUrl : `http://127.0.0.1 :${ PORT } ` , ...( process . env . METRICS_TOKEN ? { token : process . env . METRICS_TOKEN } : { } ) } } ,
109+ { module : at ( 'remotestorage/plugin.js' ) , prefix : '/remotestorage' , config : { baseUrl : PUBLIC_URL , loopbackUrl : `http://localhost :${ PORT } ` , claimWellKnown : false } } ,
110+ { module : at ( 'metrics/plugin.js' ) , prefix : '/metrics' , config : { loopbackUrl : `http://localhost :${ PORT } ` , ...( process . env . METRICS_TOKEN ? { token : process . env . METRICS_TOKEN } : { } ) } } ,
111111 {
112112 module : at ( 'dashboard/plugin.js' ) ,
113113 prefix : '/dashboard' ,
0 commit comments