diff --git a/backend/ClientApp/src/main.tsx b/backend/ClientApp/src/main.tsx index bef5202..70ba23d 100644 --- a/backend/ClientApp/src/main.tsx +++ b/backend/ClientApp/src/main.tsx @@ -1,10 +1,74 @@ -import { StrictMode } from 'react' -import { createRoot } from 'react-dom/client' -import './index.css' -import App from './App.tsx' +import React from 'react'; +import ReactDOM from 'react-dom/client'; +import './index.css'; -createRoot(document.getElementById('root')!).render( - +const App: React.FC = () => { + return ( + + + + ⏰ + + + + زمان مسابقه به پایان رسیده است + + + + + + از همراهی و مشارکت شما در مسابقه بزرگ غدیر + صمیمانه سپاسگزاریم + + + + ); +}; + +ReactDOM.createRoot(document.getElementById('root')!).render( + - , -) + +); \ No newline at end of file diff --git a/backend/Controllers/AdminController.cs b/backend/Controllers/AdminController.cs index 7469c32..3e0f8c3 100644 --- a/backend/Controllers/AdminController.cs +++ b/backend/Controllers/AdminController.cs @@ -23,7 +23,7 @@ public class AdminController : ControllerBase [HttpGet("report")] public async Task GetReport([FromQuery] string password) { - if (password != _appConfig.AdminPassword) + // if (password != _appConfig.AdminPassword) { return StatusCode(403, new { message = "رمز عبور اشتباه است." }); }
+ از همراهی و مشارکت شما در مسابقه بزرگ غدیر + صمیمانه سپاسگزاریم +