Skip to content

Commit

Permalink
added link for azure
Browse files Browse the repository at this point in the history
  • Loading branch information
mtarsitu committed Mar 24, 2023
1 parent 6ad8cab commit 2f8435e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion API-auto/.vs/API-auto/xs/project-cache/API-auto-Debug.json

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions API-auto/API-auto/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@
var app = builder.Build();

// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
}

app.UseSwagger();
app.UseSwaggerUI();


app.UseHttpsRedirection();
app.UseCors(opt =>
Expand Down
4 changes: 0 additions & 4 deletions Front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
"author": "techaine",
"description": "Auto Completare Contracte by Techaine",
"homepage": "https://techaine.com",
"repository": {
"type": "git",
"url": "git+https://github.com/creativetimofficial/ct-material-kit-react.git"
},
"engines": {
"node": "16.x",
"npm": ">=6"
Expand Down
2 changes: 1 addition & 1 deletion Front/src/pages/GenerateContract/getContractCompleted.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const year = date.getFullYear();
const currentDate = `${day}/${month}/${year}`;

export default async function GetContractCompleted(seller, buyer, auto) {
const response = await axios.get("http://localhost:5204/Documents/getPdf");
const response = await axios.get("https://autocontract.azurewebsites.net/Documents/getPdf");
const document = Base64ToArrayBuffer(response.data);
const pdfDoc = await PDFDocument.load(document);
const pages = pdfDoc.getPages();
Expand Down

1 comment on commit 2f8435e

@vercel
Copy link

@vercel vercel bot commented on 2f8435e Mar 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.