Api call response getting html page

Hi,
After yarn build for new api call i am getting html page

Headers:

https://turiyatree.in/turiya/api/method/turiya_app.api.get_data
Request Method:
GET
Status Code:
200 OK
Remote Address:
13.200.81.103:443
Referrer Policy:
strict-origin-when-cross-origin
Accept:
application/json, text/plain, */*
Accept-Encoding:
gzip, deflate, br, zstd
Accept-Language:
en-US,en;q=0.9
Connection:
keep-alive
Cookie:
user_image=; sid=db9dcad71c92079957e2dc8f58bf3a8467d50176776225a257c666bd; system_user=yes; full_name=Administrator; user_id=Administrator
Host:
turiyatree.in
Referer:
https://turiyatree.in/turiya/paymentsummary
Sec-Ch-Ua:
"Chromium";v="124", "Google Chrome";v="124", "Not-A.Brand";v="99"
Sec-Ch-Ua-Mobile:
?1
Sec-Ch-Ua-Platform:
"Android"
Sec-Fetch-Dest:
empty
Sec-Fetch-Mode:
cors
Sec-Fetch-Site:
same-origin
User-Agent:
Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Mobile Safari/537.36

Response:
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/assets/turiya_app/turiya/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Vite + React + TS</title>
    <script type="module" crossorigin src="/assets/turiya_app/turiya/assets/index-8a47a295.js"></script>
    <link rel="stylesheet" href="/assets/turiya_app/turiya/assets/index-7e4036b6.css">
  </head>
  <body>
    <div id="root"></div>
		<script>window.csrf_token = 'fd3fe5f132e58240564ab998a8edcb2a41da4a7a67628b754115eead';</script>
    
  </body>
</html>


This is my function call:
@frappe.whitelist(allow_guest=True)
def get_data():
    data = "welcome to turiyaforms"
    return data


How to solve and make this work @buildwithhussain @nikkothari22