Fixed the API url in makefile [CI SKIP]
This commit is contained in:
		
							parent
							
								
									410f2e71ae
								
							
						
					
					
						commit
						6cefb70b31
					
				
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							@ -1,5 +1,5 @@
 | 
			
		||||
APIURL_prod := https://api.nicecock.eu/api/comment
 | 
			
		||||
APIURL_staging := https://api.nicecock.eu/api/testingcomment
 | 
			
		||||
APIURL_prod := https://api.nicecock.eu/api
 | 
			
		||||
APIURL_staging := https://api.nicecock.eu/api/testing
 | 
			
		||||
 | 
			
		||||
build:
 | 
			
		||||
	GOARCH=wasm GOOS=js go build -o web/app.wasm -ldflags="-X 'main.ApiURL=${APIURL_staging}'"  ./src
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user