added the peerId to admiralty routes

This commit is contained in:
pb 2025-05-14 09:52:25 +02:00
parent bae9cb2011
commit eae5474552

View File

@ -44,16 +44,16 @@ func (s *AdmiraltySetter) InitializeAdmiralty(localPeerID string,remotePeerID st
tools.POST :"/:id", tools.POST :"/:id",
}, },
tools.ADMIRALTY_KUBECONFIG: { tools.ADMIRALTY_KUBECONFIG: {
tools.GET:"/:id", tools.GET:"/:id/" + remotePeerID,
}, },
tools.ADMIRALTY_SECRET: { tools.ADMIRALTY_SECRET: {
tools.POST:"/:id", tools.POST:"/:id" + remotePeerID,
}, },
tools.ADMIRALTY_TARGET: { tools.ADMIRALTY_TARGET: {
tools.POST:"/:id/"+remotePeerID, tools.POST:"/:id/" + remotePeerID,
}, },
tools.ADMIRALTY_NODES: { tools.ADMIRALTY_NODES: {
tools.GET:"/:id", tools.GET:"/:id/" + remotePeerID,
}, },
}, },
) )