Compare commits

...

2 Commits

Author SHA1 Message Date
1e2503ef44 whoops, remove debug
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m2s
Publish Docker Image / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 55s
2024-06-02 10:44:06 +01:00
ae718e97f5 fix imports 2024-06-02 10:41:06 +01:00
2 changed files with 0 additions and 2 deletions

View File

@ -63,7 +63,6 @@ public class FileHeaderChecker {
* @return true if the string contains a known file header, false otherwise
*/
public static boolean containsFileHeader(String input) {
System.out.println("Checking for file headers in: " + input);
byte[] byteArray = stringToByteArray(input);
for (byte[] header : FILE_HEADERS.values()) {

View File

@ -3,7 +3,6 @@ package cc.fascinated.backend.controller;
import cc.fascinated.backend.model.Paste;
import cc.fascinated.backend.service.PasteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;