Commit c6101605 authored by Stefan Dähling's avatar Stefan Dähling
Browse files

fix dockerfile

parent 5b8a6ffa
Pipeline #301029 failed with stages
in 2 minutes and 17 seconds
......@@ -49,6 +49,7 @@ RUN go mod download
COPY cmd/frontend cmd/frontend
COPY pkg/frontend pkg/frontend
COPY pkg/common pkg/common
COPY pkg/schemas pkg/schemas
COPY web web
ENV PATH="/clonemap:${PATH}"
RUN cd cmd/frontend; CGO_ENABLED=0 GOOS=linux go build -ldflags '-s' -o frontend; cp frontend /clonemap/
......
......@@ -9,16 +9,17 @@ $(document).ready(function(){
});
function sideoverview(){
$(".modules").hide()
$("#headertitle").text("Overview")
$(".modules").hide();
$("#headertitle").text("Overview");
fetch('/api/ams').then(response => response.json()).then(data => console.log(data));
}
function sideplatform(){
$(".modules").hide()
$("#headertitle").text("Platform")
$(".modules").hide();
$("#headertitle").text("Platform");
}
function sidemas(){
$(".modules").show()
$("#headertitle").text(this.id)
$(".modules").show();
$("#headertitle").text(this.id);
}
\ No newline at end of file
Supports Markdown
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