Skip to content

Commit 5a01237

Browse files
committed
use servername instead of hardcoded value
1 parent 62fcbec commit 5a01237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
// Create Formats objects
7676
$formats = new \Pdsinterop\Rdf\Formats();
7777

78-
$serverUri = "https://server" . $request->getServerParams()["REQUEST_URI"]; // FIXME: doublecheck that this is the correct url;
78+
$serverUri = "https://" . $request->getServerParams()["SERVER_NAME"] . $request->getServerParams()["REQUEST_URI"]; // FIXME: doublecheck that this is the correct url;
7979

8080
// Create the RDF Adapter
8181
$rdfAdapter = new \Pdsinterop\Rdf\Flysystem\Adapter\Rdf(

0 commit comments

Comments
 (0)