Fix endpoint
This commit is contained in:
		
							parent
							
								
									0fc9efb035
								
							
						
					
					
						commit
						b5aa8cd2cc
					
				
							
								
								
									
										6
									
								
								.idea/vcs.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.idea/vcs.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,6 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<project version="4">
 | 
			
		||||
  <component name="VcsDirectoryMappings">
 | 
			
		||||
    <mapping directory="$PROJECT_DIR$" vcs="Git" />
 | 
			
		||||
  </component>
 | 
			
		||||
</project>
 | 
			
		||||
@ -12,7 +12,7 @@ document.getElementById('uploadForm').addEventListener('submit', async function
 | 
			
		||||
    formData.append('image', imageInput);
 | 
			
		||||
 | 
			
		||||
    try {
 | 
			
		||||
        const response = await fetch('https://dev.nevets.tech/igformatter/upload', {
 | 
			
		||||
        const response = await fetch('https://api.nevets.tech/igformatter/upload', {
 | 
			
		||||
            method: 'POST',
 | 
			
		||||
            body: formData
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user