Commit c1c943ba authored by Leigh B Stoller's avatar Leigh B Stoller

Add public_url to sliver resolve.

parent 8d852fa8
......@@ -305,6 +305,10 @@ sub Resolve($)
my $blob = { "urn" => $urn,
"manifest" => $manifest,
};
$blob->{'public_url'} =
"$TBDOCBASE/showslicepub.php?publicid=" . $slice->publicid()
if (defined($slice->publicid()));
# For key bindings.
my $slice_experiment = $slice->GetExperiment();
if (!defined($slice_experiment)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment