Skip to content

Commit

Permalink
Update data server
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Agarwal committed Jan 13, 2024
1 parent 5302085 commit 2d8ee55
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 17 deletions.
14 changes: 0 additions & 14 deletions .github/worflows/main.yml

This file was deleted.

2 changes: 1 addition & 1 deletion cypress/e2e/bento-buzz/app.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { decode } from "he";
describe('Bento Buzz', () => {
beforeEach(() => {
cy.fixture('articles.json').as('articles').then((articles) => {
cy.intercept('GET', 'https://bento-buzz.onrender.com', articles).as('getArticles');
cy.intercept('GET', 'http://bento-buzz.us-east-2.elasticbeanstalk.com/', articles).as('getArticles');
});
cy.visit('http://localhost:3000/');
});
Expand Down
2 changes: 1 addition & 1 deletion src/data/useArticles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { BentoBuzzArticle } from "../components/Article"
export const useArticles = (): UseQueryResult<BentoBuzzArticle[]> => {
return useQuery({
queryKey: ["bento-buzz-articles"], queryFn: async () => {
const response = await fetch("https://bento-buzz.onrender.com/")
const response = await fetch("http://bento-buzz.us-east-2.elasticbeanstalk.com/")
return response.json()
}
})
Expand Down
2 changes: 1 addition & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ body {

@font-face {
font-family: 'PPEditorial';
src: url('./fonts/PPEditorialNew-Regular.otf') format('otf');
src: url('./fonts/PPEditorialNew-Regular.otf') format('opentype');
}

code {
Expand Down

0 comments on commit 2d8ee55

Please sign in to comment.