Skip to content

Commit fdab2d8

Browse files
committed
fix: solve custom authentication issue
1 parent aeebff5 commit fdab2d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/api/v1/images_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module V1
1212
# @example Usage from frontend
1313
# <img src="https://api.prostaff.gg/api/v1/images/proxy?url=https://upload.wikimedia.org/..." />
1414
class ImagesController < BaseController
15-
skip_before_action :authenticate_user!, only: [:proxy]
15+
skip_before_action :authenticate_request!, only: [:proxy]
1616

1717
# GET /api/v1/images/proxy
1818
# Proxies and caches external images

0 commit comments

Comments
 (0)